aboutsummaryrefslogtreecommitdiff
path: root/lint/sh.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/sh.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/sh.sh')
-rw-r--r--lint/sh.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/lint/sh.sh b/lint/sh.sh
index 4f796b09..89704c0b 100644
--- a/lint/sh.sh
+++ b/lint/sh.sh
@@ -1,6 +1,6 @@
-shellcheck -e SC1090 -s sh -- \
- sh/profile \
- sh/profile.d/* \
- sh/shinit \
- sh/shrc \
- sh/shrc.d/*
+find sh \
+ keychain/profile.d keychain/shrc.d \
+ ksh/shrc.d \
+ mpd/profile.d \
+ plenv/profile.d plenv/shrc.d \
+ -type f -print -exec shellcheck -e SC1090 -s sh -- {} +