use new cargo's switch to install or update packages when present
This commit is contained in:
parent
1a91fddeb4
commit
eb3f5d3565
1 changed files with 2 additions and 6 deletions
|
@ -89,12 +89,8 @@ else
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +e
|
cargo install -f rustfmt
|
||||||
cargo uninstall rustfmt
|
cargo install -f racer
|
||||||
cargo uninstall racer
|
|
||||||
set -e
|
|
||||||
cargo install rustfmt
|
|
||||||
cargo install racer
|
|
||||||
|
|
||||||
# go
|
# go
|
||||||
export GOPATH="$HOME/go"
|
export GOPATH="$HOME/go"
|
||||||
|
|
Loading…
Reference in a new issue