build: update makefile
This commit is contained in:
parent
3fc427fae4
commit
d037f57560
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue