diff --git a/Makefile b/Makefile index cbe36e1..c14dcf8 100644 --- a/Makefile +++ b/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