forked from ppfeufer/aa-example-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
51 lines (44 loc) · 853 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
appname = example
package = example
help:
@echo "Makefile for $(appname)"
translationfiles:
#cd $(package); \
django-admin makemessages \
-l de \
-l es \
-l fr_FR \
-l it_IT \
-l ja \
-l ko_KR \
-l ru \
-l uk \
-l zh_Hans \
--keep-pot \
--ignore 'build/*'
compile_translationfiles:
#cd $(package); \
django-admin compilemessages \
-l de \
-l es \
-l fr_FR \
-l it_IT \
-l ja \
-l ko_KR \
-l ru \
-l uk \
-l zh_Hans
graph_models:
python ../myauth/manage.py graph_models $(package) --arrow-shape normal -o $(appname)-models.png
coverage:
rm -rfv htmlcov; \
coverage run ../myauth/manage.py test $(package) --keepdb --failfast; \
coverage html; \
coverage report -m
build_test:
rm -rfv dist; \
python3 -m build
tox_tests:
export USE_MYSQL=False; \
tox -v -e allianceauth-stable; \
rm -rf .tox/