Skip to content

Commit a5639b3

Browse files
authored
build: add gofmt to format make target (#47)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 0bb8970 commit a5639b3

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
@@ -25,8 +25,9 @@ mod-tidy:
2525
clean:
2626
rm -f $(BINARIES)
2727

28-
format:
28+
format: mod-tidy
2929
go fmt ./...
30+
gofmt -s -w $(GO_FILES)
3031

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

0 commit comments

Comments
 (0)