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/vim.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/vim.sh')
-rw-r--r-- | lint/vim.sh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lint/vim.sh b/lint/vim.sh index 8197217e..6714ac9a 100644 --- a/lint/vim.sh +++ b/lint/vim.sh @@ -1,8 +1,5 @@ -vint -s -- \ - vim/after/ \ - vim/config/ \ - vim/ftdetect/ \ - vim/ftplugin/ \ - vim/indent/ \ - vim/gvimrc \ - vim/vimrc +for v in vim/* ; do + [ "$v" != vim/bundle ] || continue + printf '%s\n' "$v" + vint -s -- "$v" +done |