Update common Prometheus files (#222)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
PrometheusBot authored 2 years ago
GitHub committed 2 years ago
117 | 117 | %: common-% ; |
118 | 118 | |
119 | 119 | .PHONY: common-all |
120 | common-all: precheck style check_license lint unused build test | |
120 | common-all: precheck style check_license lint yamllint unused build test | |
121 | 121 | |
122 | 122 | .PHONY: common-style |
123 | 123 | common-style: |
197 | 197 | endif |
198 | 198 | endif |
199 | 199 | |
200 | .PHONY: common-yamllint | |
201 | common-yamllint: | |
202 | @echo ">> running yamllint on all YAML files in the repository" | |
203 | ifeq (, $(shell which yamllint)) | |
204 | @echo "yamllint not installed so skipping" | |
205 | else | |
206 | yamllint . | |
207 | endif | |
208 | ||
200 | 209 | # For backward-compatibility. |
201 | 210 | .PHONY: common-staticcheck |
202 | 211 | common-staticcheck: lint |