From 9a5931070bef3c5586876cf25054b6d5b8512da6 Mon Sep 17 00:00:00 2001 From: Braydon Kains <93549768+braydonk@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:37:27 -0500 Subject: [PATCH] [chore] Add lightweight make check target (#1586) Co-authored-by: Liudmila Molkova Co-authored-by: Trask Stalnaker Co-authored-by: Armin Ruech <7052238+arminru@users.noreply.github.com> --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fe34a79849..6f2cf5c809 100644 --- a/Makefile +++ b/Makefile @@ -35,11 +35,16 @@ OPA_CONTAINER=$(shell cat dependencies.Dockerfile | awk '$$4=="opa" {print $$2}' 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. .PHONY: all -all: install-tools markdownlint markdown-link-check misspell table-check compatibility-check schema-check \ - check-file-and-folder-names-in-docs +all: $(CHECK_TARGETS) markdown-link-check + +.PHONY: check +check: $(CHECK_TARGETS) .PHONY: check-file-and-folder-names-in-docs check-file-and-folder-names-in-docs: