aboutsummaryrefslogtreecommitdiff
path: root/lint/urxvt.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-31 20:46:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-31 20:46:10 +1300
commit111c8d9db7798ccccd07157f346f2c039131cfc9 (patch)
treeef74c2bc0ae81476d195682c1faa60aa843166b2 /lint/urxvt.sh
parent196155499c04b2c2050302e6575f1bcbbed052f1 (diff)
downloaddotfiles-111c8d9db7798ccccd07157f346f2c039131cfc9.tar.gz
dotfiles-111c8d9db7798ccccd07157f346f2c039131cfc9.zip
Revert "Drastically simplify `lint` scripts"
I forgot that the `lint` tools here need to check the *built* files, and that that's the reason the `perlcritic` check against the source .pl file was failing. While it's still true that it would be preferable to test the files found in a deterministic order, this branch's attempt to address that issue is pretty much nonsense and can be abandoned. This reverts commit 196155499c04b2c2050302e6575f1bcbbed052f1.
Diffstat (limited to 'lint/urxvt.sh')
-rw-r--r--lint/urxvt.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/lint/urxvt.sh b/lint/urxvt.sh
index 7c7b1876..507034be 100644
--- a/lint/urxvt.sh
+++ b/lint/urxvt.sh
@@ -1,2 +1 @@
-perlcritic --brutal -- \
- urxvt/ext/*.pl
+find urxvt/ext -type f ! -name '*.pl' -print -exec perlcritic --brutal -- {} \;