mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 21:27:01 +02:00
this should allow package tests that check things like writability to succeed and have fewer skipped tests in CI. - switch to using the `void-LIBC-full` container - use `uchroot` instead of `ethereal` - simplify some scripts for this change
17 lines
513 B
Bash
Executable file
17 lines
513 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# xlint.sh
|
|
|
|
EXITCODE=0
|
|
read base tip < /tmp/revisions
|
|
|
|
/bin/echo -e "\x1b[34mLinting commits...\x1b[0m"
|
|
common/scripts/lint-commits $base $tip || EXITCODE=$?
|
|
|
|
for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do
|
|
/bin/echo -e "\x1b[34mLinting $t...\x1b[0m"
|
|
xlint "$t" > /tmp/xlint_out || EXITCODE=$?
|
|
common/scripts/lint-version-change "$t" $base $tip > /tmp/vlint_out || EXITCODE=$?
|
|
awk -f common/scripts/lint2annotations.awk /tmp/xlint_out /tmp/vlint_out
|
|
done
|
|
exit $EXITCODE
|