diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 20:46:10 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-31 20:46:10 +1300 |
commit | 111c8d9db7798ccccd07157f346f2c039131cfc9 (patch) | |
tree | ef74c2bc0ae81476d195682c1faa60aa843166b2 /lint/games.sh | |
parent | Drastically simplify `lint` scripts (diff) | |
download | dotfiles-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/games.sh')
-rw-r--r-- | lint/games.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lint/games.sh b/lint/games.sh index 772c8678..6e3e3024 100644 --- a/lint/games.sh +++ b/lint/games.sh @@ -1,2 +1 @@ -shellcheck -e SC1090 -s sh -- \ - games/*.sh +find games -type f -name '*.sh' -print -exec shellcheck -e SC1090 -s sh -- {} + |