mirror of
https://github.com/denisidoro/navi
synced 2024-11-21 19:13:07 +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"
|
||||
|
||||
install() {
|
||||
"${NAVI_HOME}/scripts/action" release
|
||||
ln -s "${NAVI_HOME}/target/tar/navi" "${BIN_DIR}/navi"
|
||||
cargo install --path .
|
||||
}
|
||||
|
||||
uninstall() {
|
||||
rm -rf "${NAVI_HOME}/target"
|
||||
rm -f "${BIN_DIR}/navi"
|
||||
cargo uninstall
|
||||
}
|
||||
|
||||
fix() {
|
||||
|
|
Loading…
Reference in a new issue