aboutsummaryrefslogtreecommitdiff
path: root/lint/bin.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/bin.sh
parentDrastically simplify `lint` scripts (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/bin.sh')
-rw-r--r--lint/bin.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/lint/bin.sh b/lint/bin.sh
index 2c990d2a..0fe82d7a 100644
--- a/lint/bin.sh
+++ b/lint/bin.sh
@@ -1,2 +1 @@
-shellcheck -e SC1090 -s sh -- \
- bin/*.sh
+find bin -type f -name '*.sh' -print -exec shellcheck -e SC1090 -s sh -- {} +