From 27f30831958491a71350bfaa28cba3a5f766db9c Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 25 Feb 2023 23:36:39 +0700 Subject: [PATCH] chore: update make --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe74aac..ce2afc7 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ all: $(MAKE) test-color $(MAKE) lint $(MAKE) format + $(MAKE) build + $(MAKE) clean test: go test -race -failfast ./... @@ -29,13 +31,13 @@ lint: format: $(MAKE) build - # go install github.com/haunt98/gofimports/cmd/gofimports@latest go install mvdan.cc/gofumpt@latest ./gofimports -w --company github.com/make-go-great,github.com/haunt98 . gofumpt -w -extra . $(MAKE) clean build: + $(MAKE) clean go build ./cmd/gofimports clean: