From d086d55fb1d6e255ce386824a0cc85067a5260e6 Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 17 Nov 2021 20:42:48 -0300 Subject: [PATCH] Bring in the Makefile --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile 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