mirror of
https://github.com/denisidoro/navi
synced 2025-02-16 12:38:28 +00:00
Use cargo directly in makefile
This commit is contained in:
parent
1aab69e118
commit
8a0318128f
1 changed files with 2 additions and 4 deletions
|
@ -8,13 +8,11 @@ export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
source "${NAVI_HOME}/scripts/install"
|
source "${NAVI_HOME}/scripts/install"
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
"${NAVI_HOME}/scripts/action" release
|
cargo install --path .
|
||||||
ln -s "${NAVI_HOME}/target/tar/navi" "${BIN_DIR}/navi"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uninstall() {
|
uninstall() {
|
||||||
rm -rf "${NAVI_HOME}/target"
|
cargo uninstall
|
||||||
rm -f "${BIN_DIR}/navi"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fix() {
|
fix() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue