Add test-until-fail script htat will loop tests on /all-components until it finds an error from webhint
This commit is contained in:
parent
bec96ac604
commit
be61e36cc0
9
test-until-fail.sh
Executable file
9
test-until-fail.sh
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user