[arch-projects] [devtools][PATCH 09/13] Makefile: Add a simple 'check' target that runs shellcheck

Luke Shumaker lukeshu at parabola.nu
Fri May 5 22:41:06 UTC 2017


---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d5f6ad7..39614a4 100644
--- a/Makefile
+++ b/Makefile
@@ -114,5 +114,8 @@ dist:
 upload:
 	scp devtools-$(V).tar.gz devtools-$(V).tar.gz.sig repos.archlinux.org:/srv/ftp/other/devtools/
 
-.PHONY: all clean install uninstall dist upload
+check: $(BINPROGS) bash_completion makepkg-x86_64.conf
+	shellcheck $^
+
+.PHONY: all clean install uninstall dist upload check
 .DELETE_ON_ERROR:
-- 
2.12.2


More information about the arch-projects mailing list