travis: do not ignore failure of all but last linted template
This commit is contained in:
committed by
Enno Boland
parent
2fc54e0a21
commit
fcae38850b
@@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
[ "$XLINT" ] || exit 0
|
[ "$XLINT" ] || exit 0
|
||||||
|
|
||||||
awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | while read -r t; do
|
EXITCODE=0
|
||||||
|
for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do
|
||||||
/bin/echo -e "\x1b[32mLinting $t...\x1b[0m"
|
/bin/echo -e "\x1b[32mLinting $t...\x1b[0m"
|
||||||
xlint "$t"
|
xlint "$t" || EXITCODE=$?
|
||||||
done
|
done
|
||||||
|
exit $EXITCODE
|
||||||
|
|||||||
Reference in New Issue
Block a user