From 22e79102e6e08ae513bfdc2bf8ae272a3ac3381c Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Tue, 10 Apr 2018 18:33:43 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04ebfe46..0f8d22e5 100644 --- a/Makefile +++ b/Makefile @@ -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"