xlint.sh (225B)
1#!/bin/sh 2# 3# xlint.sh 4 5[ "$XLINT" ] || exit 0 6 7EXITCODE=0 8for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do 9 /bin/echo -e "\x1b[32mLinting $t...\x1b[0m" 10 xlint "$t" || EXITCODE=$? 11done 12exit $EXITCODE