From 402391f6700837cc0c56df05ff12d9c2b14dd010 Mon Sep 17 00:00:00 2001 From: Manuel Vogel Date: Thu, 13 May 2021 08:11:24 +0200 Subject: [PATCH] fix: adapt website-lint target to new do folder --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 194941ce..9ada5211 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -76,7 +76,7 @@ website-lint: echo "Unexpected mispelling found in website files."; \ echo "To automatically fix the misspelling, run 'make website-lint-fix' and commit the changes."; \ exit 1) - @docker run -v $(PWD):/markdown 06kellyjac/markdownlint-cli website/docs/ || (echo; \ + @docker run -v $(PWD):/markdown 06kellyjac/markdownlint-cli docs/ || (echo; \ echo "Unexpected issues found in website Markdown files."; \ echo "To apply any automatic fixes, run 'make website-lint-fix' and commit the changes."; \ exit 1) @@ -89,7 +89,7 @@ website-lint: website-lint-fix: @echo "==> Applying automatic website linter fixes..." @misspell -w -source=text website/ - @docker run -v $(PWD):/markdown 06kellyjac/markdownlint-cli --fix website/docs/ + @docker run -v $(PWD):/markdown 06kellyjac/markdownlint-cli --fix docs/ @terrafmt fmt ./website --pattern '*.markdown' .PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website-link-check website-lint website-lint-fix