From d1c2c6339342083ceee1b96485dfc65893e68dca Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 2 Aug 2016 16:23:49 +1200 Subject: 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 ... --- lint/bin | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 lint/bin (limited to 'lint/bin') 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 -- cgit v1.2.3