diff --git a/test-until-fail.sh b/test-until-fail.sh new file mode 100755 index 0000000..bffb0c9 --- /dev/null +++ b/test-until-fail.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +cd webhint +while true; do + wget localhost:8080/all-components --output-document ./output.html + npx hint --config ../hintrc.local.json ./output.html + if [ "$?" != 0 ]; then + exit 1; + fi; +done