uv: update to 0.4.30.
[void-pkg.git] / common / travis / xlint.sh
blob0b2d12d0b0d0419614f327c33f9ce6ea4d347a25
1 #!/bin/sh
3 # xlint.sh
5 EXITCODE=0
6 read base tip < /tmp/revisions
8 common/scripts/lint-commits $base $tip || EXITCODE=$?
10 for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do
11 /bin/echo -e "\x1b[32mLinting $t...\x1b[0m"
12 xlint "$t" > /tmp/xlint_out || EXITCODE=$?
13 common/scripts/lint-version-change "$t" $base $tip > /tmp/vlint_out || EXITCODE=$?
14 awk -f common/scripts/lint2annotations.awk /tmp/xlint_out /tmp/vlint_out
15 done
16 exit $EXITCODE