mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-19 10:37:23 +01:00
make: run goimports during make fmt
This commit is contained in:
4
Makefile
4
Makefile
@@ -232,7 +232,9 @@ fuzz-run: $(GOFUZZ_BIN)
|
|||||||
# UTILITIES
|
# UTILITIES
|
||||||
# =========
|
# =========
|
||||||
|
|
||||||
fmt:
|
fmt: goimports
|
||||||
|
@$(call print, "Fixing imports.")
|
||||||
|
goimports -w $(GOFILES_NOVENDOR)
|
||||||
@$(call print, "Formatting source.")
|
@$(call print, "Formatting source.")
|
||||||
gofmt -l -w -s $(GOFILES_NOVENDOR)
|
gofmt -l -w -s $(GOFILES_NOVENDOR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user