[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:
Braydon Kains 2024-11-20 18:37:27 -05:00 committed by GitHub
parent c5093dddb8
commit 9a5931070b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -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: