-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (29 loc) · 980 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
appname = aa-euni-core
package = eunicore
help:
@echo "Makefile for $(appname)"
translationfiles:
cd $(package) && \
django-admin makemessages -l en --ignore 'build/*' && \
django-admin makemessages -l de --ignore 'build/*' && \
django-admin makemessages -l es --ignore 'build/*' && \
django-admin makemessages -l ko --ignore 'build/*' && \
django-admin makemessages -l ru --ignore 'build/*' && \
django-admin makemessages -l zh_Hans --ignore 'build/*'
compiletranslationfiles:
cd $(package) && \
django-admin compilemessages -l en && \
django-admin compilemessages -l de && \
django-admin compilemessages -l es && \
django-admin compilemessages -l ko && \
django-admin compilemessages -l ru && \
django-admin compilemessages -l zh_Hans
coverage:
rm -rfv htmlcov && \
coverage run ../myauth/manage.py test $(package) --keepdb --failfast && coverage html && coverage report
build:
rm -rfv dist && \
python3 -m build
tox_tests:
tox && \
rm -rf .tox/