Skip to content

Commit

Permalink
build: add gofmt to format make target (#168)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 authored Dec 20, 2024
1 parent 7e14e27 commit f4a68a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ mod-tidy:
clean:
rm -f $(BINARY)

format:
format: mod-tidy
go fmt ./...
gofmt -s -w $(GO_FILES)

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

0 comments on commit f4a68a0

Please sign in to comment.