Add a run task separate from the build task

This commit is contained in:
Simon Sapin 2018-08-30 17:24:00 +02:00
parent c31b4ad095
commit b05a445284
4 changed files with 68 additions and 41 deletions

8
build-task.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
export PATH="$HOME/.cargo/bin:$PATH"
cd something-rust
cargo build --release
gzip -c target/release/something-rust > something-rust.gz