mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
7 lines
249 B
Bash
Executable file
7 lines
249 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
|
|
go install -ldflags "-X main.apiEndpoint=http://127.0.0.1:5000" --tags "darwin" .
|
|
ln -s $GOPATH/bin/cli /usr/local/bin/dnote
|