]>
Commit | Line | Data |
---|---|---|
20effc67 TL |
1 | all: fmt generate lint test |
2 | ||
3 | fmt: | |
4 | ./lint-jsonnet.sh -i | |
5 | ||
6 | generate: dashboards_out | |
7 | ||
8 | vendor: jsonnetfile.lock.json | |
9 | tox -ejsonnet-bundler-install | |
10 | ||
11 | dashboards_out: vendor $(JSONNETS_FILES) | |
12 | tox -ejsonnet-fix | |
13 | ||
14 | lint: | |
15 | tox -ejsonnet-lint | |
16 | tox -ealerts-lint | |
17 | ||
18 | test: generate | |
19 | tox -ejsonnet-check | |
20 | tox -epromql-query-test | |
21 | tox -ealerts-check | |
22 | check: test | |
23 | ||
24 | .PHONY: all fmt generate lint test check |