diff --git a/Makefile b/Makefile index f5f96df..399fd8c 100644 --- a/Makefile +++ b/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