diff options
| author | Teddy Wing | 2015-09-25 01:39:44 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2015-09-25 01:39:44 -0400 | 
| commit | 936ddb9eb1e0d46f2ccbba7cf0f40c5b634b5c92 (patch) | |
| tree | 078942a6914248b037d594f4a5a1ef9884156031 /Makefile | |
| parent | efa1909b2fa955e5170eecda8d1d42598c817f07 (diff) | |
| download | git-hook-pre-commit-python-javascript-syntax-linter-936ddb9eb1e0d46f2ccbba7cf0f40c5b634b5c92.tar.bz2 | |
Makefile: Ensure virtualenv is sourced before running tests
Otherwise they'll fail since `flake8` won't be available.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -2,4 +2,4 @@  # 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 prove; else echo "'prove' not found; not running tests";         fi +	@if which prove > /dev/null; then source virtualenv/bin/activate; prove; else echo "'prove' not found; not running tests";         fi | 
