void-packages/common/travis/xlint.sh

11 lines
190 B
Bash
Raw Normal View History

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