build.sh upload.sh

This commit is contained in:
Cat /dev/Nulo 2022-09-09 21:51:14 -03:00
parent c3171317a5
commit 7c88a17f02
2 changed files with 4 additions and 0 deletions

2
build.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" go build

2
upload.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
scp -P993 telegram-bot-send-message root@nulo.in:/usr/local/bin/