Skip to content

Commit

Permalink
Print output of gofmt before evaluating
Browse files Browse the repository at this point in the history
Signed-off-by: Aitor Pérez Cedres <acedres@vmware.com>
  • Loading branch information
Zerpet authored and lukebakken committed Jan 4, 2023
1 parent 41c553c commit 4be4230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ list: ## list Makefile targets

.PHONY: check-fmt
check-fmt: ## Ensure code is formatted
gofmt -l -d . # For the sake of debugging
test -z "$$(gofmt -l .)"

.PHONY: fmt
Expand Down

0 comments on commit 4be4230

Please sign in to comment.