diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 22:44:56 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 22:44:56 +1300 |
commit | 3e540185b71e7a3bfa9348a13691bf40569a06aa (patch) | |
tree | 2e9869aa47c4250121438d480c8386122a2e9f60 /lint | |
parent | Add option terminators to some stray `set` calls (diff) | |
download | dotfiles-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')
-rw-r--r-- | lint/urxvt.sh | 7 |
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' |