diff options
author | Evan Read <eread@gitlab.com> | 2023-01-18 02:06:22 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2023-01-18 02:06:22 +0300 |
commit | 3ef0ee3e63a48841f6a5af1c91dbee2b9dc97fe7 (patch) | |
tree | c17a3ec102211e42689b23e5520ff84cf113ad30 /Makefile | |
parent | 40a7f01d7a36245cb4d527ff0c932835222ae5cb (diff) |
Update markdownlint-cli2 dependency and use it for things
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -163,7 +163,34 @@ yamllint-tests: markdownlint-tests: @printf "\n$(INFO)INFO: Running markdownlint tests...$(END)\n" - @yarn markdownlint doc/**/*.md + @yarn markdownlint-cli2 doc/**/*.md + +markdownlint-whitespace-tests-gitlab: + @printf "\n$(INFO)INFO: Running markdownlint whitespace tests on GitLab project...$(END)\n" + @cd ../gitlab/doc && markdownlint-cli2-config "../../gitlab-docs/tasks/.markdownlint.yml" "**/*.md" + +markdownlint-whitespace-tests-gitlab-runner: + @printf "\n$(INFO)INFO: Running markdownlint whitespace tests on GitLab Runner project...$(END)\n" + @cd ../gitlab-runner/docs && markdownlint-cli2-config "../../gitlab-docs/tasks/.markdownlint.yml" "**/*.md" + +markdownlint-whitespace-tests-omnibus-gitlab: + @printf "\n$(INFO)INFO: Running markdownlint whitespace tests on Omnibus GitLab project...$(END)\n" + @cd ../omnibus-gitlab/doc && markdownlint-cli2-config "../../gitlab-docs/tasks/.markdownlint.yml" "**/*.md" + +markdownlint-whitespace-tests-charts-gitlab: + @printf "\n$(INFO)INFO: Running markdownlint whitespace tests on GitLab Chart project...$(END)\n" + @cd ../charts-gitlab/doc && markdownlint-cli2-config "../../gitlab-docs/tasks/.markdownlint.yml" "**/*.md" + +markdownlint-whitespace-tests-gitlab-operator: + @printf "\n$(INFO)INFO: Running markdownlint whitespace tests on GitLab Operator project...$(END)\n" + @cd ../gitlab-operator/doc && markdownlint-cli2-config "../../gitlab-docs/tasks/.markdownlint.yml" "**/*.md" + +markdownlint-whitespace-tests: install-nodejs-dependencies + @$(MAKE) markdownlint-whitespace-tests-gitlab || true + @$(MAKE) markdownlint-whitespace-tests-gitlab-runner || true + @$(MAKE) markdownlint-whitespace-tests-omnibus-gitlab || true + @$(MAKE) markdownlint-whitespace-tests-charts-gitlab || true + @$(MAKE) markdownlint-whitespace-tests-gitlab-operator || true shellcheck-tests: @printf "\n$(INFO)INFO: Running shellcheck tests...$(END)\n" |