11 lines
190 B
Bash
11 lines
190 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ ! -d $HOME/.src/gwar ] ; then
|
|
git clone ssh://git@pingo.thermokar.st/gwar $HOME/.src/gwar
|
|
fi
|
|
|
|
cd $HOME/.src/gwar
|
|
cargo build --release
|
|
cp target/release/gwar ~/bin
|