Browse Source

make: run goimports during make fmt

master
Johan T. Halseth 6 years ago
parent
commit
892635a93d
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
  1. 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…
Cancel
Save