1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/env bash set -eux # We always want backtraces for everything. export RUST_BACKTRACE=1 cargo build --examples $PROFILE cargo test $PROFILE if [[ "$PROFILE" == "--release" ]]; then cargo bench fi