Skip to content

Commit 1aa6ee4

Browse files
committed
Check for go formatting issues on build
1 parent d54d32b commit 1aa6ee4

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
@@ -61,10 +61,11 @@ test:
6161
)
6262

6363
.PHONY: full-test
64-
full-test: generate_verify test
64+
full-test: lint generate_verify test
6565

6666
.PHONY: lint
6767
lint:
68+
@echo "Checking for formatting issues"
6869
@set -e; \
6970
GO_FMT=$$(git ls-files *.go | grep -v 'vendor/' | xargs gofmt -d); \
7071
if [ -n "$${GO_FMT}" ] ; then \

0 commit comments

Comments
 (0)