summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-05-05 18:41:06 -0400
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-07-05 18:21:55 +0200
commit430e1265fbe5c752217195aebdb5949416f0bb7a (patch)
treee54fc2a90db4caf06b3235e1e7e74367c32894c3 /Makefile
parent56cace32b29e427e2f33754cf7f50bf691b619ce (diff)
downloaddevtools-430e1265fbe5c752217195aebdb5949416f0bb7a.tar.xz
Makefile: Add a simple 'check' target that runs shellcheck
Diffstat (limited to 'Makefile')
-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: