#!/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 # belt-and-suspenders . $HOME/.cargo/env cargo build --release cp target/release/gwar ~/bin