Rewrite ./ext/ setup scripts

This commit is contained in:
Henrik Lissner 2016-08-27 23:01:43 +02:00
parent c25c589281
commit d31fe2166e
9 changed files with 97 additions and 47 deletions

13
ext/setup-rust.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
cd ~/.emacs.d/ext
source ./VARS
#
echo "Setting up Rust"
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