Move ext/* to scripts/
This commit is contained in:
parent
e8438e11e5
commit
83c852e11f
7 changed files with 0 additions and 0 deletions
25
scripts/setup-rust.sh
Executable file
25
scripts/setup-rust.sh
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source VARS
|
||||
|
||||
#
|
||||
echo "Setting up Rust"
|
||||
|
||||
case "$OSTYPE" in
|
||||
darwin*)
|
||||
brew install rust
|
||||
;;
|
||||
linux*)
|
||||
if is-arch; then
|
||||
sudo pacman --noconfirm -S rust cargo
|
||||
elif is-deb; then
|
||||
echo ...
|
||||
exit 1
|
||||
fi
|
||||
esac
|
||||
|
||||
git-repo "https://github.com/rust-lang/rust.git" "rust"
|
||||
git-repo "https://github.com/phildawes/racer.git" "racer-src"
|
||||
|
||||
cd racer-src && cargo build --release
|
||||
mv racer-src/target/release/racer ./racer
|
Loading…
Add table
Add a link
Reference in a new issue