chore: update make

main
sudo pacman -Syu 2023-02-25 23:36:39 +07:00
parent 004aeb8ec3
commit 27f3083195
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ all:
$(MAKE) test-color $(MAKE) test-color
$(MAKE) lint $(MAKE) lint
$(MAKE) format $(MAKE) format
$(MAKE) build
$(MAKE) clean
test: test:
go test -race -failfast ./... go test -race -failfast ./...
@ -29,13 +31,13 @@ lint:
format: format:
$(MAKE) build $(MAKE) build
# go install github.com/haunt98/gofimports/cmd/gofimports@latest
go install mvdan.cc/gofumpt@latest go install mvdan.cc/gofumpt@latest
./gofimports -w --company github.com/make-go-great,github.com/haunt98 . ./gofimports -w --company github.com/make-go-great,github.com/haunt98 .
gofumpt -w -extra . gofumpt -w -extra .
$(MAKE) clean $(MAKE) clean
build: build:
$(MAKE) clean
go build ./cmd/gofimports go build ./cmd/gofimports
clean: clean: