mirror of
https://github.com/dnote/dnote
synced 2026-03-18 08:19:55 +01:00
Improve package structure (#207)
* Improve package structure * Set up travis
This commit is contained in:
parent
ca03c8576a
commit
23a511dbe0
171 changed files with 4750 additions and 4531 deletions
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
# dev.sh builds a new binary and replaces the old one in the PATH with it
|
||||
|
||||
sudo rm -rf "$(which dnote)" "$GOPATH/bin/cli"
|
||||
|
||||
# change tags to darwin if on macos
|
||||
go install -ldflags "-X main.apiEndpoint=http://127.0.0.1:5000" --tags "linux fts5" "$GOPATH/src/github.com/dnote/dnote/cli/."
|
||||
|
||||
sudo ln -s "$GOPATH/bin/cli" /usr/local/bin/dnote
|
||||
Loading…
Add table
Add a link
Reference in a new issue