aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 15a9875..e1a8775 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,11 @@ deploy:
rsync --progress ./www-kbbi-linux-amd64 www-kbbi:~/bin/www-kbbi
rsync --progress --recursive ./_www-kbbi/ www-kbbi:~/bin/_www-kbbi/
+deploy-bot:
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
+ go build -o bot-kbbi-linux-amd64 ./cmd/bot-kbbi/
+ rsync --progress ./bot-kbbi-linux-amd64 www-kbbi:~/bin/bot-kbbi
+
##
## Development task
##