update before install
This commit is contained in:
parent
33c53e5286
commit
e564ba32e5
7
Makefile
7
Makefile
|
@ -1,11 +1,14 @@
|
|||
pull:
|
||||
git pull
|
||||
|
||||
test:
|
||||
go test -cover ./...
|
||||
|
||||
deploy-service: test
|
||||
deploy-service: pull test
|
||||
go build -o gte-daemon ./cmd/daemon/service.go
|
||||
scp gte-daemon ewintr.nl:/home/erik/bin/gte-daemon
|
||||
ssh ewintr.nl /home/erik/bin/deploy-gte-daemon.sh
|
||||
|
||||
install-cli: test
|
||||
install-cli: pull test
|
||||
go build -o gte ./cmd/cli/main.go
|
||||
mv gte ${HOME}/bin
|
||||
|
|
Loading…
Reference in New Issue