mirror of
https://github.com/denisidoro/navi
synced 2024-11-23 03:53:05 +00:00
9 lines
225 B
Bash
Executable file
9 lines
225 B
Bash
Executable file
#!/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 -- "$@"
|