chore: run go mod tidy first

main
sudo pacman -Syu 2023-02-25 23:23:31 +07:00
parent 58bd20ce36
commit 0e2ed5bb69
1 changed files with 1 additions and 2 deletions

View File

@ -1,12 +1,12 @@
.PHONY: all test-color lint
all:
go mod tidy
$(MAKE) test-color
$(MAKE) lint
$(MAKE) format
$(MAKE) build
$(MAKE) clean
go mod tidy
test-color:
go install github.com/haunt98/go-test-color@latest
@ -18,7 +18,6 @@ lint:
format:
go install github.com/haunt98/gofimports/cmd/gofimports@latest
go install mvdan.cc/gofumpt@latest
go install mvdan.cc/sh/v3/cmd/shfmt@latest
gofimports -w --company github.com/make-go-great,github.com/haunt98 .
gofumpt -w -extra .