Remove unused dependency on nose. Move to default tests discovery.
[wolnelektury.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..5ef3ba7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+.ONESHELL:
+test:
+       cd src
+       coverage run --branch --source='.' ./manage.py test; true
+       rm -rf ../htmlcov
+       coverage html -d ../htmlcov.new
+       rm -rf ../htmlcov
+       mv ../htmlcov.new ../htmlcov
+       coverage report
+       rm .coverage