10 lines
131 B

#!/bin/bash
DIR="$(realpath "$(dirname -- "$0")")"
CARGO="$DIR/.cargo/bin/cargo"
"$CARGO" test
"$CARGO" build --release
exit 0