aboutsummaryrefslogtreecommitdiff
path: root/lint/urxvt.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:44:56 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:44:56 +1300
commit3e540185b71e7a3bfa9348a13691bf40569a06aa (patch)
tree2e9869aa47c4250121438d480c8386122a2e9f60 /lint/urxvt.sh
parentAdd option terminators to some stray `set` calls (diff)
downloaddotfiles-3e540185b71e7a3bfa9348a13691bf40569a06aa.tar.gz
dotfiles-3e540185b71e7a3bfa9348a13691bf40569a06aa.zip
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.
Diffstat (limited to 'lint/urxvt.sh')
-rw-r--r--lint/urxvt.sh7
1 files changed, 6 insertions, 1 deletions
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'