chore: run go mod tidy first
parent
58bd20ce36
commit
0e2ed5bb69
3
Makefile
3
Makefile
|
@ -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 .
|
||||
|
||||
|
|
Loading…
Reference in New Issue