void-packages/common/travis/xlint.sh
maxice8 3f4d1f1555 travis: use ethereal.
Closes: #9396 [via git-merge-pr]
2019-04-06 16:44:58 -07:00

10 lines
190 B
Bash
Executable file

#!/bin/sh
#
# xlint.sh
[ "$XLINT" ] || exit 0
awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | while read -r t; do
/bin/echo -e "\x1b[32mLinting $t...\x1b[0m"
xlint "$t"
done