helm/dev/rust/_init
2018-02-17 03:03:36 -05:00

24 lines
334 B
Bash
Executable file

#!/usr/bin/env zsh
source ${0:A:h}/../../deploy
source env.zsh
install() {
case $(_os) in
macos) brew install rustup ;;
arch) pacaur --needed --noconfirm -S rustup ;;
esac
rustup install stable
rustup component add rust-src
cargo install racer
}
update() {
rustup update
}
# link() {}
# clean() {}
init "$@"