travis: do not ignore failure of all but last linted template
This commit is contained in:
parent
2fc54e0a21
commit
fcae38850b
|
@ -4,7 +4,9 @@
|
|||
|
||||
[ "$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"
|
||||
xlint "$t"
|
||||
xlint "$t" || EXITCODE=$?
|
||||
done
|
||||
exit $EXITCODE
|
||||
|
|
Loading…
Reference in New Issue