From 3e540185b71e7a3bfa9348a13691bf40569a06aa Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 31 Oct 2017 22:44:56 +1300 Subject: Check and lint URxvt Perls correctly Require that the URxvt Perls are built correctly. There's only one at the moment, so I'll make that the single prerequisite for the `check-urxvt` target. --- lint/urxvt.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lint') diff --git a/lint/urxvt.sh b/lint/urxvt.sh index 507034be..477157f7 100644 --- a/lint/urxvt.sh +++ b/lint/urxvt.sh @@ -1 +1,6 @@ -find urxvt/ext -type f ! -name '*.pl' -print -exec perlcritic --brutal -- {} \; +set -- +for pl in urxvt/ext/*.pl ; do + set -- "$@" "${pl%.pl}" +done +perlcritic --brutal -- "${pl%.pl}" +printf 'URxvt Perl extensions linted successfully.\n' -- cgit v1.2.3