nftmashin/Makefile

9 lines
286 B
Makefile
Raw Normal View History

2021-11-17 23:42:48 +00:00
.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