From 703a0f3762b69f0f78e73905eac39fcbf3a02c2f Mon Sep 17 00:00:00 2001 From: moocowmoo Date: Sat, 15 Apr 2017 18:00:11 +0000 Subject: [PATCH] config - htmlproofer ignore /forum/ path --- cibuild.sh | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuild.sh b/cibuild.sh index d39e00a..fcf59b6 100644 --- a/cibuild.sh +++ b/cibuild.sh @@ -2,4 +2,4 @@ set -e # halt script on error npm run build -bundle exec htmlproofer ./_site --disable-external --allow-hash-href --assume-extension --alt-ignore '/.*/' --file-ignore /assets/,/dist/,/style-guide/,/blog/ --url-ignore /^\/binaries\/.+$/ +#bundle exec htmlproofer ./_site --disable-external --allow-hash-href --assume-extension --alt-ignore '/.*/' --file-ignore /assets/,/dist/,/style-guide/,/blog/ --url-ignore '/^\/binaries\/.+$/,/^\/forum\/?.*$/' diff --git a/package.json b/package.json index 63d5d68..053bff5 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "uglify:dist": "mkdir -p dist/js/ && ./node_modules/uglify-js/bin/uglifyjs src/js/*.js -m -o dist/js/main.min.js", "uglify:dev": "mkdir -p dist/js/ && ./node_modules/uglify-js/bin/uglifyjs src/js/*.js -c -o dist/js/main.min.js", "uglify": "npm run uglify:dist", - "htmlproof": " htmlproofer ./_site --disable-external --allow-hash-href --assume-extension --alt-ignore '/.*/' --file-ignore /assets/,/dist/,/style-guide/,/blog/ --url-ignore '/binaries/' ", + "htmlproof": "htmlproofer ./_site --disable-external --allow-hash-href --assume-extension --alt-ignore '/.*/' --file-ignore /assets/,/dist/,/style-guide/,/blog/ --url-ignore '/^\/binaries\/.+$/,/^\/forum\/?.*$/'", "test": "echo \"No Tests.\" && exit 0", "clean:dist": "rm -rf dist && rm -rf _site", "clean": "npm run clean:dist",