update before install

This commit is contained in:
Erik Winter 2021-07-09 17:31:13 +02:00
parent 33c53e5286
commit e564ba32e5
1 changed files with 5 additions and 2 deletions

View File

@ -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