More author data in catalogue.
[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         ./manage.py test --settings=redakcja.settings.test
14
15
16 .ONESHELL:
17 test_full:
18         cd src
19         coverage run --branch --source='.' ./manage.py test --settings=redakcja.settings.test_full; true
20         coverage html -d ../htmlcov.new
21         rm -rf ../htmlcov
22         mv ../htmlcov.new ../htmlcov
23         coverage report
24         rm .coverage