From ef3c3d551405766a4abf35176e07201b96ef9a0a Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 8 Apr 2019 15:23:56 -0700 Subject: [PATCH] Add rust install --- recipes/default/packages | 8 ++++++++ recipes/default/rust | 4 ++++ 2 files changed, 12 insertions(+) create mode 100755 recipes/default/rust diff --git a/recipes/default/packages b/recipes/default/packages index 7a6d82e..7f8e0d5 100644 --- a/recipes/default/packages +++ b/recipes/default/packages @@ -3,11 +3,17 @@ sudo_package_update sudo_package 'tmux htop curl wget mercurial ctags tig pv jq fish mosh bash-completion doxygen' +# This now installs a lot of language specific stuff from python, gradle, and go, to rust. +# Should consider pulling these into different recipes that are dependent on the environment +# that I wish to bootstrap. If not a dev environment, I can trim out some of this. + # Manager specific packages case "$PACKAGE_MANAGER" in "port") # Non-standard packages sudo_package 'the_silver_searcher md5sha1sum gradle go bash apache-ant' + # Rust + sudo_package'rust cargo' # Python packages sudo_package 'python27 py27-ipython py27-pip py27-six py27-tox py27-flake8 py27-virtualenv' sudo_package 'python37 py37-ipython py37-pip py37-six py37-tox py37-flake8 py37-virtualenv' @@ -35,5 +41,7 @@ case "$PACKAGE_MANAGER" in sudo_package 'silversearcher-ag' fi sudo_package 'build-essential vim golang-go' + # Rust + sudo_package 'rustc cargo' ;; esac diff --git a/recipes/default/rust b/recipes/default/rust new file mode 100755 index 0000000..f7d512d --- /dev/null +++ b/recipes/default/rust @@ -0,0 +1,4 @@ +#! /bin/bash + +# Install rust via rustup +curl https://sh.rustup.rs -sSf | sh