aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dae2c8e..459c762 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ $(eval $(call goarch_pair,amd64,386))
85$(eval $(call goarch_pair,mips64,mips)) 85$(eval $(call goarch_pair,mips64,mips))
86$(eval $(call goarch_pair,mips64el,mipsel)) 86$(eval $(call goarch_pair,mips64el,mipsel))
87 87
88all: style vet staticcheck checkmetrics build test $(cross-test) $(test-e2e) 88all: style vet staticcheck checkmetrics checkrules build test $(cross-test) $(test-e2e)
89 89
90.PHONY: test 90.PHONY: test
91test: collector/fixtures/sys/.unpacked 91test: collector/fixtures/sys/.unpacked
@@ -121,6 +121,11 @@ checkmetrics: $(PROMTOOL)
121 @echo ">> checking metrics for correctness" 121 @echo ">> checking metrics for correctness"
122 ./checkmetrics.sh $(PROMTOOL) $(e2e-out) 122 ./checkmetrics.sh $(PROMTOOL) $(e2e-out)
123 123
124.PHONY: checkrules
125checkrules: $(PROMTOOL)
126 @echo ">> checking rules for correctness"
127 find . -name "*rules*.yml" | xargs -I {} $(PROMTOOL) check rules {}
128
124.PHONY: docker 129.PHONY: docker
125docker: 130docker:
126ifeq ($(MACH), ppc64le) 131ifeq ($(MACH), ppc64le)