diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e3ea4b9 --- /dev/null +++ b/Makefile @@ -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