From 4cb2f44afca359637191f9028fd28bf54dd946ca Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 29 Jun 2022 18:15:28 -0700 Subject: [PATCH] Avoid overwriting htmltest cache --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 589b26b..e5333d6 100644 --- a/Makefile +++ b/Makefile @@ -56,11 +56,13 @@ validate-html: htmlproofer: htmlproofer $(OUTPUT_DIR) --disable-external --report-invalid-tags --report-missing-names --report-missing-doctype --report-eof-tags --report-mismatched-tags --check-html --check-opengraph --check-favicon --empty-alt-ignore --file-ignore $(OUTPUT_DIR)/search/index.html --url-ignore '../music.txt' +linter-configs/htmltest.yml: + rsync $(RSYNCFLAGS) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json + # basic checks for generated HTML and broken links. Persist the broken # link cache remotely so we can run this in CI. .PHONY: htmltest -htmltest: - rsync $(RSYNCFLAGS) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json +htmltest: linter-configs/htmltest.yml htmltest -c linter-configs/htmltest.yml $(OUTPUT_DIR) rsync $(RSYNCFLAGS) linter-configs/htmltest/refcache.json deploy@seirdy.one:/home/deploy/refcache.json