From 61f606e192ad67b4819a909a6f1b18c41e33db2d Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 12 Dec 2017 12:40:20 -0600 Subject: Add fix_gofmt target fix_gofmt will run gofmt -s -w on files that need to be formatted. Useful for developers prior to checking code in. Signed-off-by: baude Closes: #125 Approved by: baude --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e921b92eb..7be742688 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,9 @@ lint: .gopathok gofmt: @./hack/verify-gofmt.sh +fix_gofmt: + @./hack/verify-gofmt.sh -f + conmon: $(MAKE) -C $@ -- cgit v1.2.3-54-g00ecf