aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Schmidt <tobidt@gmail.com>2018-04-10 18:33:43 +0200
committerTobias Schmidt <tobidt@gmail.com>2018-04-10 18:34:48 +0200
commit22e79102e6e08ae513bfdc2bf8ae272a3ac3381c (patch)
tree23d79adfd575504fdb87e22267a9c4a1534697f8 /Makefile
parent9e485f11578b40915db8668ef9060a014d9cea2f (diff)
downloadprometheus_node_collector-22e79102e6e08ae513bfdc2bf8ae272a3ac3381c.tar.bz2
prometheus_node_collector-22e79102e6e08ae513bfdc2bf8ae272a3ac3381c.tar.xz
prometheus_node_collector-22e79102e6e08ae513bfdc2bf8ae272a3ac3381c.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 04ebfe4..0f8d22e 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ $(eval $(call goarch_pair,arm64,arm))
72$(eval $(call goarch_pair,mips64,mips)) 72$(eval $(call goarch_pair,mips64,mips))
73$(eval $(call goarch_pair,mips64el,mipsel)) 73$(eval $(call goarch_pair,mips64el,mipsel))
74 74
75all: format vet staticcheck checkmetrics build test $(cross-test) $(test-e2e) 75all: style vet staticcheck checkmetrics build test $(cross-test) $(test-e2e)
76 76
77style: 77style:
78 @echo ">> checking code style" 78 @echo ">> checking code style"