diff options
author | Tobias Schmidt <tobidt@gmail.com> | 2018-04-10 18:33:43 +0200 |
---|---|---|
committer | Tobias Schmidt <tobidt@gmail.com> | 2018-04-10 18:34:48 +0200 |
commit | 22e79102e6e08ae513bfdc2bf8ae272a3ac3381c (patch) | |
tree | 23d79adfd575504fdb87e22267a9c4a1534697f8 | |
parent | 9e485f11578b40915db8668ef9060a014d9cea2f (diff) | |
download | prometheus_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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
75 | all: format vet staticcheck checkmetrics build test $(cross-test) $(test-e2e) | 75 | all: style vet staticcheck checkmetrics build test $(cross-test) $(test-e2e) |
76 | 76 | ||
77 | style: | 77 | style: |
78 | @echo ">> checking code style" | 78 | @echo ">> checking code style" |