diff options
| author | Teddy Wing | 2015-09-27 13:44:20 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-09-27 13:44:20 -0400 |
| commit | 86f333eb61480bf8f3baca4f713d4e8f488f28f5 (patch) | |
| tree | 7eea2ab247ed24b194fc0a46523edb82de5794d9 /Makefile | |
| parent | 2a88fb92f4c1fbb3533e589d5c9f4b5c17595d3f (diff) | |
| download | git-hook-pre-commit-python-javascript-syntax-linter-86f333eb61480bf8f3baca4f713d4e8f488f28f5.tar.bz2 | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |
