Files
deb-python-django-compressor/Makefile
David Winterbottom 86063dadaa Add make target for setting up test environment
This commit replaces the 3 lines from the contributing instructions with
a single make target.  Only a tiny thing, but it's reduces the distance
from zero to tests passing, which can only be a good thing in my book.
2013-04-10 11:40:13 +01:00

10 lines
389 B
Makefile

testenv:
pip install -e .
pip install -r requirements/tests.txt
pip install Django
test:
flake8 compressor --ignore=E501,E128
coverage run --branch --source=compressor `which django-admin.py` test --settings=compressor.test_settings compressor
coverage report --omit=compressor/test*,compressor/filters/jsmin/rjsmin*,compressor/filters/cssmin/cssmin*,compressor/utils/stringformat*