aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 192eed6..0f4812c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
## Use of this source code is governed by a BSD-style
## license that can be found in the LICENSE file.
-.PHONY: all build lint test
+.PHONY: all build lint test install deploy
LINT_OPTS =
@@ -23,3 +23,11 @@ lint:
test:
go test ./...
+
+install:
+ go install ./cmd/kbbi/
+
+deploy:
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
+ go build -o www-kbbi-linux-amd64 ./cmd/www-kbbi/
+ rsync --progress ./www-kbbi-linux-amd64 www-kbbi:~/bin/www-kbbi