Makefile: Add a simple 'check' target that runs shellcheck

This commit is contained in:
Luke Shumaker 2017-05-05 18:41:06 -04:00 committed by Jan Alexander Steffens (heftig)
parent 56cace32b2
commit 430e1265fb
No known key found for this signature in database
GPG Key ID: A5E9288C4FA415FA
1 changed files with 4 additions and 1 deletions

View File

@ -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: