From 03e13b70b595dcf967e1bd4230ae1721c51855ac Mon Sep 17 00:00:00 2001 From: thephez Date: Wed, 20 Jun 2018 11:27:16 -0400 Subject: [PATCH] Update test to exclude slate folder --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c78e24e2..2a2fb7e0 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ check-for-missing-anchors: check-for-broken-markdown-reference-links: ## Report Markdown reference-style links which weren't converted to HTML ## links in the output, indicating there's no reference definition - $S find $(SITEDIR) -name '*.html' -type f -not -path "*/doxygen/html/*" | xargs grep '\]\[' | eval $(ERROR_ON_OUTPUT) + $S find $(SITEDIR) -name '*.html' -type f -not -path "*/doxygen/html/*" -not -path "*/slate-example/*" | xargs grep '\]\[' | eval $(ERROR_ON_OUTPUT) check-for-non-ascii-urls: ## Always check all translated urls don't contain non-ASCII @@ -273,4 +273,4 @@ check-for-javascript-in-svgs: check-for-english-in-en-dir: ## All pages must have page.lang set to work properly with the site templates - $S grep -rl \\'---' en/ --exclude-dir=doxygen | xargs grep -L '^ *lang: *en' | eval $(ERROR_ON_OUTPUT) + $S grep -rl \\'---' en/ --exclude-dir=doxygen --exclude-dir=slate-example | xargs grep -L '^ *lang: *en' | eval $(ERROR_ON_OUTPUT)