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 @@ -184,6 +184,7 @@ citation ## Update version in CITATION.cff (use version=X.Y.Z)
184184clean-mods ## Remove all the Go mod cache
185185coverage ## Show test coverage
186186diff ## Show git diff and fail if uncommitted changes exist
187+ fumpt ## Run fumpt to format Go code
187188generate ## Run go generate in the base of the repo
188189godocs ## Trigger GoDocs tag sync
189190govulncheck-install ## Install govulncheck
You can’t perform that action at this time.
0 commit comments