24 lines
331 B
Bash
Executable file
24 lines
331 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) yay --needed --noconfirm -S rustup ;;
|
|
esac
|
|
rustup install stable
|
|
rustup component add rust-src
|
|
cargo install racer
|
|
}
|
|
|
|
update() {
|
|
rustup update
|
|
}
|
|
|
|
# link() {}
|
|
|
|
# clean() {}
|
|
|
|
init "$@"
|