make install-cli

This commit is contained in:
Erik Winter 2021-07-09 07:54:27 +02:00
parent 141a20461f
commit b3fbabd4e7
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
test: test:
go test ./... go test -cover ./...
deploy-service: test deploy-service: test
go build -o gte-daemon ./cmd/daemon/service.go go build -o gte-daemon ./cmd/daemon/service.go
scp gte-daemon ewintr.nl:/home/erik/bin/gte-daemon scp gte-daemon ewintr.nl:/home/erik/bin/gte-daemon
ssh ewintr.nl /home/erik/bin/deploy-gte-daemon.sh ssh ewintr.nl /home/erik/bin/deploy-gte-daemon.sh
install-cli: test
go build -o gte ./cmd/cli/main.go
mv gte ${HOME}/bin