exit with an error if zptlint fails.
svn path=/plone.app.discussion/trunk/; revision=39312
This commit is contained in:
parent
0ea94c56ff
commit
a1e81d4eaf
@ -120,6 +120,7 @@ input = inline:
|
|||||||
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, see zptlint.log for details"
|
||||||
|
exit 1;
|
||||||
else
|
else
|
||||||
echo "No errors found"
|
echo "No errors found"
|
||||||
rm zptlint.log
|
rm zptlint.log
|
||||||
|
Loading…
Reference in New Issue
Block a user