From 86f333eb61480bf8f3baca4f713d4e8f488f28f5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 27 Sep 2015 13:44:20 -0400 Subject: Makefile: Simplify `test` target Remove all the conditions and code copied from Vcsh and only do the bare minimum necessary to run tests. This will bork in more unexpected ways if `git` or `prove` aren't present, but it allows us to get rid of the only GPL-licensed code in the codebase, freeing me up to license the project in any way I want. --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index adefdd2..74d5c6a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -# Copied from Richard Hartmann's vcsh: -# https://github.com/RichiH/vcsh/blob/master/Makefile test: - @if which git > /dev/null; then : ; else echo "'git' not found, exiting..." ; exit 1; fi - @if which prove > /dev/null; then source virtualenv/bin/activate; prove; else echo "'prove' not found; not running tests"; fi + source virtualenv/bin/activate; \ + prove -- cgit v1.2.3