build: update makefile
This commit is contained in:
parent
3fc427fae4
commit
d037f57560
5
Makefile
5
Makefile
|
@ -1,6 +1,9 @@
|
||||||
build:
|
build: lint
|
||||||
CGO_ENABLED=0 go build -v -trimpath -ldflags='-s -w'
|
CGO_ENABLED=0 go build -v -trimpath -ldflags='-s -w'
|
||||||
|
|
||||||
|
lint:
|
||||||
|
golangci-lint run ./...
|
||||||
|
|
||||||
pack: build
|
pack: build
|
||||||
tar --owner root --group root -c tgbot_misaka_5882f7 | zstdmt -15v > tgbot_misaka_5882f7.tar.zst
|
tar --owner root --group root -c tgbot_misaka_5882f7 | zstdmt -15v > tgbot_misaka_5882f7.tar.zst
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue