Skip to content

Commit

Permalink
Use cargo directly in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
denisidoro committed Apr 19, 2021
1 parent 1aab69e commit 8a03181
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/make
Expand Up @@ -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() {
Expand Down

0 comments on commit 8a03181

Please sign in to comment.