forked from okfde/froide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (20 loc) · 670 Bytes
/
Makefile
File metadata and controls
26 lines (20 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export DJANGO_SETTINGS_MODULE=froide.settings
export DJANGO_CONFIGURATION=Test
export PYTHONWARNINGS=default
test:
flake8 froide
coverage run --branch manage.py test froide --keepdb
coverage report
testci:
coverage run --branch manage.py test froide --exclude-tag ui --keepdb
coverage report
testui:
coverage run --branch manage.py test froide.tests.live --keepdb
.PHONY: htmlcov
htmlcov:
coverage html
messagesde:
django-admin makemessages -l de --ignore public --ignore froide-env --ignore node_modules --ignore htmlcov --add-location file
requirements: requirements.in requirements-test.in
pip-compile requirements.in
pip-compile requirements-test.in