From: Richard Hartmann Date: Wed, 11 Feb 2015 18:49:46 +0000 (+0100) Subject: Makefile: Add `prove` to make test X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/13314340640e3ad23d9b39cf91695615e8a17c33?ds=inline;hp=-c Makefile: Add `prove` to make test --- 13314340640e3ad23d9b39cf91695615e8a17c33 diff --git a/Makefile b/Makefile index ca6ebe6..d939624 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,8 @@ purge: uninstall rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(ZSHDIR) test: - @if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi + @if which git > /dev/null; then : ; else echo "'git' not found, exiting..."; exit 1; fi + @if which prove > /dev/null; then prove; else echo "'prove' not found; not running tests"; fi moo: @ which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..."