Skip to content

Commit f4a68a0

Browse files
authored
build: add gofmt to format make target (#168)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 7e14e27 commit f4a68a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ mod-tidy:
2727
clean:
2828
rm -f $(BINARY)
2929

30-
format:
30+
format: mod-tidy
3131
go fmt ./...
32+
gofmt -s -w $(GO_FILES)
3233

3334
golines:
3435
golines -w --ignore-generated --chain-split-dots --max-len=80 --reformat-tags .

0 commit comments

Comments
 (0)