File tree 6 files changed +2050
-17
lines changed
6 files changed +2050
-17
lines changed Original file line number Diff line number Diff line change
1
+ # Makefile for AA Intel Tool
2
+
1
3
appname = aa-intel-tool
4
+ appname_verbose = AA Intel Tool
2
5
package = aa_intel_tool
3
6
4
7
help :
5
- @echo " Makefile for $( appname) "
8
+ @echo " $( appname_verbose) Makefile"
9
+ @echo " "
10
+ @echo " Usage: make [command]"
11
+ @echo " "
12
+ @echo " Commands:"
13
+ @echo " translationfiles Create or update translation files"
14
+ @echo " graph_models Create a graph of the models"
15
+ @echo " coverage Run tests and create a coverage report"
16
+ @echo " build_test Build the package"
17
+ @echo " tox_tests Run tests with tox"
6
18
7
19
translationfiles :
8
20
# cd $(package); \
9
21
django-admin makemessages \
22
+ -l cs \
10
23
-l de \
11
24
-l es \
12
25
-l fr_FR \
13
26
-l it_IT \
14
27
-l ja \
15
28
-l ko_KR \
29
+ -l nl \
30
+ -l pl_PL \
16
31
-l ru \
32
+ -l sk \
17
33
-l uk \
18
34
-l zh_Hans \
19
35
--keep-pot \
20
36
--ignore ' build/*'
21
37
22
- compile_translationfiles :
23
- # cd $(package); \
24
- django-admin compilemessages \
25
- -l de \
26
- -l es \
27
- -l fr_FR \
28
- -l it_IT \
29
- -l ja \
30
- -l ko_KR \
31
- -l ru \
32
- -l uk \
33
- -l zh_Hans
34
-
35
38
graph_models :
36
- python ../myauth/manage.py graph_models $(package ) --arrow-shape normal -o $(appname ) -models.png
39
+ python ../myauth/manage.py \
40
+ graph_models \
41
+ $(package ) \
42
+ --arrow-shape normal \
43
+ -o $(appname ) -models.png
37
44
38
45
coverage :
39
46
rm -rfv htmlcov; \
40
- coverage run ../myauth/manage.py test $(package ) --keepdb --failfast; \
47
+ coverage run ../myauth/manage.py \
48
+ test \
49
+ $(package ) \
50
+ --keepdb \
51
+ --failfast; \
41
52
coverage html; \
42
53
coverage report -m
43
54
You can’t perform that action at this time.
0 commit comments