Last active
December 22, 2016 10:59
-
-
Save mcfdn/f401254c5ffccb05bb2f07108d9b785c to your computer and use it in GitHub Desktop.
Revisions
-
mcfdn revised this gist
Dec 22, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ #!/bin/bash EXITCODE=0 if [[ -z $1 ]] -
mcfdn revised this gist
Dec 22, 2016 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,22 +1,22 @@ #!/bin/bash # EXITCODE=0 if [[ -z $1 ]] then FILES=app else FILES=$1 fi for f in $(find $FILES -name '*.php') do php -l $f if [ $? -ne 0 ] then EXITCODE=1 fi done exit $EXITCODE -
mcfdn revised this gist
Dec 22, 2016 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ #!/bin/bash EXITCODE=0 if [[ -z $1 ]] then FILES=app @@ -10,4 +12,11 @@ fi for f in $(find $FILES -name '*.php') do php -l $f if [ $? -ne 0 ] then EXITCODE=1 fi done exit $EXITCODE -
mcfdn created this gist
Dec 22, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash if [[ -z $1 ]] then FILES=app else FILES=$1 fi for f in $(find $FILES -name '*.php') do php -l $f done