dnote/scripts/dev.sh
Sung Won Cho 73c5c9ac67
Remove upgrade (#102)
* Remove upgrade

* Ask for upgrade

* Adopt installation script to unpack

* Remove unused
2018-09-02 16:54:29 +10:00

7 lines
228 B
Bash
Executable file

#!/bin/bash
# dev.sh builds a new binary and replaces the old one in the PATH with it
rm "$(which dnote)" $GOPATH/bin/cli
make build-snapshot
ln -s $GOPATH/src/github.com/dnote/cli/dist/darwin_amd64/dnote /usr/local/bin/dnote