This commit is contained in:
Henrik Lissner 2016-03-27 00:46:52 -04:00
parent 817a41a739
commit 63f03bde2d
3 changed files with 25 additions and 7 deletions

18
ext/Makefile Normal file
View file

@ -0,0 +1,18 @@
all: rust csharp
rust:
echo "Installing Rust dependencies"
git clone --depth 1 --recursive https://github.com/rust-lang/rust.git rust
git clone --depth 1 --recursive https://github.com/phildawes/racer.git racer-src
cd racer-src && cargo build --release
mv racer-src/target/release/racer ./racer
rm -rf racer-src
csharp:
echo "Installing C# dependencies"
git clone --depth 1 --recursive https://github.com/OmniSharp/omnisharp-server omnisharp
cd omnisharp && xbuild
mv omnisharp/bin/Debug/OmniSharp.exe ./OmniSharp.exe
rm -rf omnisharp