Skip to content
Snippets Groups Projects
Commit dcbd2258 authored by Jaime Pérez's avatar Jaime Pérez
Browse files

Add "config-templates", "metadata-templates" and "templates" to the list of...

Add "config-templates", "metadata-templates" and "templates" to the list of directories where we look for PHP files to check their syntax.
parent a2564d47
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ PHP='/usr/bin/env php'
RETURN=0
# check PHP files
for FILE in `find attributemap bin lib modules www -name "*.php"`; do
for FILE in `find attributemap bin config-templates lib metadata-templates modules templates www -name "*.php"`; do
$PHP -l $FILE > /dev/null 2>&1
if [ $? -ne 0 ]; then
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