summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-03-28 19:26:53 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-04-20 00:23:25 -0400
commit36f27d6d0b745f8e05f68961e56b899cf9ef2258 (patch)
tree63f2319682563a7886c0d6e7941ebe13dad0642b
parent76d8d0e0e7bb5119654ef2f30ec2d220002af216 (diff)
downloaddevtools32-36f27d6d0b745f8e05f68961e56b899cf9ef2258.tar.xz
Makefile: Add a simple 'check' target that runs shellcheck
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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: