diff --git a/scripts/make b/scripts/make index cf4a036a..877b861d 100755 --- a/scripts/make +++ b/scripts/make @@ -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() {