File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ coverage: ## Show test coverage
4040 @echo " Generating coverage report..."
4141 @go test -coverprofile=coverage.out ./... $(TAGS ) && go tool cover -func=coverage.out
4242
43+ .PHONY : fumpt
44+ fumpt : # # Run fumpt to format Go code
45+ @echo " Running fumpt..."
46+ @go install mvdan.cc/gofumpt@latest
47+ @gofumpt -w -extra .
48+
4349.PHONY : generate
4450generate : # # Run go generate in the base of the repo
4551 @echo " Running go generate..."
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ citation ## Update version in CITATION.cff (use version=X.Y.Z)
187187clean-mods ## Remove all the Go mod cache
188188coverage ## Show test coverage
189189diff ## Show git diff and fail if uncommitted changes exist
190+ fumpt ## Run fumpt to format Go code
190191generate ## Run go generate in the base of the repo
191192godocs ## Trigger GoDocs tag sync
192193govulncheck-install ## Install govulncheck
You can’t perform that action at this time.
0 commit comments