aboutsummaryrefslogtreecommitdiff
path: root/lint/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-02 16:23:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-02 16:31:22 +1200
commitd1c2c6339342083ceee1b96485dfc65893e68dca (patch)
treef416ef11c71c20ccc6e2eb3800b9f3a0a17d00ab /lint/bin
parentGet rid of a lot of comment boilerplate (diff)
downloaddotfiles-d1c2c6339342083ceee1b96485dfc65893e68dca.tar.gz
dotfiles-d1c2c6339342083ceee1b96485dfc65893e68dca.zip
Move tests and lints into their own scripts
Much nicer than having them embedded in the Makefile. Might do this for some of the more complex install targets too. Or maybe all of them ...
Diffstat (limited to 'lint/bin')
-rwxr-xr-xlint/bin8
1 files changed, 8 insertions, 0 deletions
diff --git a/lint/bin b/lint/bin
new file mode 100755
index 00000000..b9171652
--- /dev/null
+++ b/lint/bin
@@ -0,0 +1,8 @@
+
+#!/bin/sh
+for bin in bin/* ; do
+ if sed 1q "$bin" | grep -q -- 'sh$' ; then
+ printf '%s\n' "$bin"
+ shellcheck -- "$bin"
+ fi
+done