diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-02 11:19:11 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-02 11:19:11 +1300 |
commit | 901b8896afb2dc37357769063779935a531a1bca (patch) | |
tree | 98dfc92689fe097e8cbeed7689122787305ea444 /Makefile | |
parent | Appease shellcheck with multi arith exps (diff) | |
download | dotfiles-901b8896afb2dc37357769063779935a531a1bca.tar.gz dotfiles-901b8896afb2dc37357769063779935a531a1bca.zip |
Add linting targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -260,3 +260,17 @@ test-urxvt: done @printf 'All Perl scripts in urxvt/ext parsed successfully.\n' +lint : lint-sh lint-bash lint-bin lint-urxvt + +lint-sh : + find sh -type f -print -exec shellcheck -- {} \; + +lint-bash : + find bash -type f -print -exec shellcheck -- {} \; + +lint-bin : + find bin -type f -print -exec shellcheck -- {} \; + +lint-urxvt: + find urxvt/ext -type f -print -exec perlcritic --brutal -- {} \; + |