[chore] Add lightweight make check target (#1586)
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com> Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com> Co-authored-by: Armin Ruech <7052238+arminru@users.noreply.github.com>
This commit is contained in:
parent
c5093dddb8
commit
9a5931070b
9
Makefile
9
Makefile
|
|
@ -35,11 +35,16 @@ OPA_CONTAINER=$(shell cat dependencies.Dockerfile | awk '$$4=="opa" {print $$2}'
|
||||||
|
|
||||||
DOCKER_USER=$(shell id -u):$(shell id -g)
|
DOCKER_USER=$(shell id -u):$(shell id -g)
|
||||||
|
|
||||||
|
CHECK_TARGETS=install-tools markdownlint misspell table-check compatibility-check \
|
||||||
|
schema-check check-file-and-folder-names-in-docs
|
||||||
|
|
||||||
|
|
||||||
# TODO: add `yamllint` step to `all` after making sure it works on Mac.
|
# TODO: add `yamllint` step to `all` after making sure it works on Mac.
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: install-tools markdownlint markdown-link-check misspell table-check compatibility-check schema-check \
|
all: $(CHECK_TARGETS) markdown-link-check
|
||||||
check-file-and-folder-names-in-docs
|
|
||||||
|
.PHONY: check
|
||||||
|
check: $(CHECK_TARGETS)
|
||||||
|
|
||||||
.PHONY: check-file-and-folder-names-in-docs
|
.PHONY: check-file-and-folder-names-in-docs
|
||||||
check-file-and-folder-names-in-docs:
|
check-file-and-folder-names-in-docs:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue