build: update makefile

This commit is contained in:
Yiyang Kang 2022-11-21 15:17:16 +08:00
parent 3fc427fae4
commit d037f57560
Signed by: kkyy
GPG Key ID: 80FD317ECAF06CC3
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
build:
build: lint
CGO_ENABLED=0 go build -v -trimpath -ldflags='-s -w'
lint:
golangci-lint run ./...
pack: build
tar --owner root --group root -c tgbot_misaka_5882f7 | zstdmt -15v > tgbot_misaka_5882f7.tar.zst