From 696af474548289a671e939e15047e85196739bc4 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Thu, 16 Jun 2022 17:19:23 -0700 Subject: [PATCH] Fix check-whole-site script - Renamed some makefile jobs - Added missing include directive --- Makefile.online | 1 + scripts/bin/check-whole-site | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.online b/Makefile.online index fae4b9c..e96ec38 100644 --- a/Makefile.online +++ b/Makefile.online @@ -1,5 +1,6 @@ # The following test the online instance, post-deploy. I just kept them here for convenience +include Makefile DOMAIN = seirdy.one PAGE_PATH = / SCHEME=https:// diff --git a/scripts/bin/check-whole-site b/scripts/bin/check-whole-site index 5d58a14..153eb26 100755 --- a/scripts/bin/check-whole-site +++ b/scripts/bin/check-whole-site @@ -59,7 +59,7 @@ while getopts "hb" flags; do esac done -make -j1 HUGO_FLAGS=-DF HUGO_BASEURL="$base_url" clean hugo xhtmlize lint-html +make -j1 HUGO_FLAGS=-DF HUGO_BASEURL="$base_url" clean hugo xhtmlize validate-html make -j2 -f Makefile.online lint-css axe equal-access URLS="$(curl "$base_url/sitemap.xml" | htmlq loc -t | rg -v '/search/$' | tr '\n' ' ')" # vi:ft=sh