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:
|
GOK := gok --parent_dir ./deployments --instance fermentor
|
||||||
cd cmd/fermentord && GOARCH=arm GOARM=6 GOOS=linux go build
|
|
||||||
|
|
||||||
install: build
|
edit:
|
||||||
scp cmd/fermentord/fermentord fermentor.env.s18.joco.dk:
|
$(GOK) edit
|
||||||
ssh -t fermentor.env.s18.joco.dk sudo ./deploy.sh
|
|
||||||
|
|
||||||
.PHONY: build install
|
update:
|
||||||
|
$(GOK) update
|
||||||
|
|
||||||
|
.PHONY: edit update
|
||||||
|
|
Loading…
Reference in a new issue