Fix code style check in "all" make target

The all target should abort on incorrectly formatted code, instead of
formatting it. The CI pipeline should fail and not silently accept
wrong code.

Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
This commit is contained in:
Tobias Schmidt 2018-04-10 18:33:43 +02:00
parent 9e485f1157
commit 22e79102e6
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ $(eval $(call goarch_pair,arm64,arm))
$(eval $(call goarch_pair,mips64,mips))
$(eval $(call goarch_pair,mips64el,mipsel))
all: format vet staticcheck checkmetrics build test $(cross-test) $(test-e2e)
all: style vet staticcheck checkmetrics build test $(cross-test) $(test-e2e)
style:
@echo ">> checking code style"