Skip to content

Commit

Permalink
Add fmt command to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sohomdatta1 committed May 14, 2024
1 parent 431a391 commit 7c286b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ mod-update:
mod-tidy:
go mod tidy

.PHONY: mod-update mod-tidy
fmt:
go fmt -w $(go list ./... | grep -v generated)

.PHONY: mod-update mod-tidy fmt

test:
go test $(go list ./... | grep -v generated)
Expand Down

0 comments on commit 7c286b3

Please sign in to comment.