Makefile now supports gok
This commit is contained in:
parent
24a4105189
commit
a858b0a8a6
1 changed files with 7 additions and 6 deletions
13
Makefile
13
Makefile
|
@ -1,8 +1,9 @@
|
|||
build:
|
||||
cd cmd/fermentord && GOARCH=arm GOARM=6 GOOS=linux go build
|
||||
GOK := gok --parent_dir ./deployments --instance fermentor
|
||||
|
||||
install: build
|
||||
scp cmd/fermentord/fermentord fermentor.env.s18.joco.dk:
|
||||
ssh -t fermentor.env.s18.joco.dk sudo ./deploy.sh
|
||||
edit:
|
||||
$(GOK) edit
|
||||
|
||||
.PHONY: build install
|
||||
update:
|
||||
$(GOK) update
|
||||
|
||||
.PHONY: edit update
|
||||
|
|
Loading…
Reference in a new issue