travis: do not ignore failure of all but last linted template
This commit is contained in:
parent
2fc54e0a21
commit
fcae38850b
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue