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 ... --- test/sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 test/sh (limited to 'test/sh') diff --git a/test/sh b/test/sh new file mode 100755 index 00000000..354a40c7 --- /dev/null +++ b/test/sh @@ -0,0 +1,7 @@ +#!/bin/sh +for sh in sh/* sh/profile.d/* ; do + if [ -f "$sh" ] && ! sh -n "$sh" ; then + exit 1 + fi +done +printf 'All sh(1) scripts parsed successfully.\n' -- cgit v1.2.3