Auto-remove POT dating.
[redakcja.git] / Makefile
1 .PHONY: deploy test
2
3
4 deploy: src/redakcja/localsettings.py
5         pip install -r requirements/requirements.txt
6         src/manage.py migrate --noinput
7         src/manage.py collectstatic --noinput
8
9
10 .ONESHELL:
11 test:
12         cd src
13         coverage run --branch --source='.' ./manage.py test --settings=redakcja.settings.test; true
14         coverage html -d ../htmlcov.new
15         rm -rf ../htmlcov
16         mv ../htmlcov.new ../htmlcov
17         coverage report
18         rm .coverage