Updated and fixes.
[wolnelektury.git] / Makefile
index 1a602ba..d43ff1e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,7 @@ deploy: src/wolnelektury/localsettings.py
 .ONESHELL:
 test:
        cd src
 .ONESHELL:
 test:
        cd src
-       coverage run --branch --source='.' ./manage.py test; true
-       rm -rf ../htmlcov
+       python -Wall -m coverage run --branch --source='.' ./manage.py test; true
        coverage html -d ../htmlcov.new
        rm -rf ../htmlcov
        mv ../htmlcov.new ../htmlcov
        coverage html -d ../htmlcov.new
        rm -rf ../htmlcov
        mv ../htmlcov.new ../htmlcov