make: run goimports during make fmt
This commit is contained in:
parent
6dfefe39ce
commit
892635a93d
4
Makefile
4
Makefile
@ -232,7 +232,9 @@ fuzz-run: $(GOFUZZ_BIN)
|
||||
# UTILITIES
|
||||
# =========
|
||||
|
||||
fmt:
|
||||
fmt: goimports
|
||||
@$(call print, "Fixing imports.")
|
||||
goimports -w $(GOFILES_NOVENDOR)
|
||||
@$(call print, "Formatting source.")
|
||||
gofmt -l -w -s $(GOFILES_NOVENDOR)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user