From d037f575608bfba69abd87505022f8769ec1429e Mon Sep 17 00:00:00 2001 From: Yiyang Kang Date: Mon, 21 Nov 2022 15:17:16 +0800 Subject: [PATCH] build: update makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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