summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-03-28 19:26:53 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-05-04 21:09:14 -0400
commit368a6d2a37a8eb88da4a5a393b1f685c240835d5 (patch)
tree872c8cc61c30c3778a8a04b82d981082f2a7e04f
parent855bccdbbc919396d17391337503e2bdc73c1cee (diff)
downloaddevtools-368a6d2a37a8eb88da4a5a393b1f685c240835d5.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: