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