Skip to content
Snippets Groups Projects
Unverified Commit e9cc7a7d authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Make YAML-check more quiet

parent 07ceb22e
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ for i in `find . -path ./vendor -prune -o -path ./node_modules -prune -o -name ' ...@@ -26,7 +26,6 @@ for i in `find . -path ./vendor -prune -o -path ./node_modules -prune -o -name '
do do
if [ -f "$i" ]; then if [ -f "$i" ]; then
FILE="${i%/*}/${i##*/}" FILE="${i%/*}/${i##*/}"
echo "Checking file $i"
$PHP -r "require(dirname(dirname(__FILE__)).'/vendor/autoload.php'); use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Exception\ParseException; try { Yaml::parseFile('$FILE'); } catch(ParseException \$e) { exit(1); }" $PHP -r "require(dirname(dirname(__FILE__)).'/vendor/autoload.php'); use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Exception\ParseException; try { Yaml::parseFile('$FILE'); } catch(ParseException \$e) { exit(1); }"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Syntax check failed for ${FILE}" echo "Syntax check failed for ${FILE}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment