navi/scripts/run

10 lines
225 B
Text
Raw Normal View History

2020-03-04 21:01:23 +00:00
#!/usr/bin/env bash
set -euo pipefail
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
cd "$NAVI_HOME"
rm -rf "target/release/navi" 2> /dev/null || true
rm -rf "target/debug/navi" 2> /dev/null || true
cargo run -- "$@"