This commit is contained in:
Cat /dev/Nulo 2022-08-10 20:52:50 +02:00
parent cfc9f9a04f
commit d8cf1e36a5
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
dlbot

8
Makefile Normal file
View file

@ -0,0 +1,8 @@
.PHONY: dlbot
dlbot:
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
upload: dlbot
ssh -p993 root@nulo.in sv stop dlbot
scp -P993 dlbot dlbot@nulo.in:/home/dlbot/bin/
ssh -p993 root@nulo.in sv start dlbot