Bring in the Makefile

This commit is contained in:
Cat /dev/Nulo 2021-11-17 20:42:48 -03:00
parent 85326d5b67
commit d086d55fb1

8
Makefile Normal file
View file

@ -0,0 +1,8 @@
.PHONY: nft.nulo.in
nft.nulo.in:
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
upload: nft.nulo.in
ssh root@nulo.in/993 sv stop nftmashin
scp -r -P993 nft.nulo.in templates assets nftmashin@nulo.in:/home/nftmashin/
ssh root@nulo.in/993 sv start nftmashin