diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |
