use new cargo's switch to install or update packages when present

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-07-08 13:43:49 +02:00
parent 1a91fddeb4
commit eb3f5d3565

View file

@ -89,12 +89,8 @@ else
git pull
fi
set +e
cargo uninstall rustfmt
cargo uninstall racer
set -e
cargo install rustfmt
cargo install racer
cargo install -f rustfmt
cargo install -f racer
# go
export GOPATH="$HOME/go"