Write errors to the stout as well.
svn path=/plone.app.discussion/trunk/; revision=39313
This commit is contained in:
parent
a1e81d4eaf
commit
e37e48498b
@ -118,8 +118,10 @@ input = inline:
|
|||||||
echo "Checking"
|
echo "Checking"
|
||||||
echo $TMPL
|
echo $TMPL
|
||||||
find plone/app/discussion -regex ".*\.[c|z]?pt" | xargs bin/zptlint > zptlint.log
|
find plone/app/discussion -regex ".*\.[c|z]?pt" | xargs bin/zptlint > zptlint.log
|
||||||
if [ -s zptlint.log ]; then
|
if [ -s zptlint.log ]; then
|
||||||
echo "Errors were found, see zptlint.log for details"
|
echo "Errors were found:"
|
||||||
|
cat zptlint.log
|
||||||
|
echo "Errors were written to zptlint.log"
|
||||||
exit 1;
|
exit 1;
|
||||||
else
|
else
|
||||||
echo "No errors found"
|
echo "No errors found"
|
||||||
|
Loading…
Reference in New Issue
Block a user