aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-05-30 03:26:34 +0700
committerShulhan <m.shulhan@gmail.com>2020-05-30 03:26:34 +0700
commit734ce643ecbc992834a8f78b44904b82b09bc84b (patch)
treed67aec8f6e0fe922e3bb6c7abc91fb8ad30ee9e7 /Makefile
parent6b03e4fd9670f865216a773545ea4a0bbf534582 (diff)
downloadkamusku-734ce643ecbc992834a8f78b44904b82b09bc84b.tar.xz
all: rename the module to "kamusku"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e1a8775..6c9507c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,8 @@ lint:
--disable=gomnd \
--disable=wsl \
--disable=gocognit \
+ --disable=goerr113 \
+ --disable=testpackage \
./...
test:
@@ -45,18 +47,18 @@ release:
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
- rsync --progress --recursive ./_www-kbbi/ www-kbbi:~/bin/_www-kbbi/
+ go build -o www-kamusku-linux-amd64 ./cmd/www-kamusku/
+ rsync --progress ./www-kamusku-linux-amd64 www-kamusku:~/bin/www-kamusku
+ rsync --progress --recursive ./_www-kamusku/ www-kamusku:~/bin/_www-kamusku/
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
+ rsync --progress ./bot-kbbi-linux-amd64 www-kamusku:~/bin/bot-kbbi
##
## Development task
##
dev-server:
- DEBUG=1 go run ./cmd/www-kbbi
+ DEBUG=1 go run ./cmd/www-kamusku