Makefile now supports gok

This commit is contained in:
Søren Rasmussen 2024-06-18 08:56:46 +02:00
parent 24a4105189
commit a858b0a8a6

View file

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