Skip to content

Commit 0867b21

Browse files
committed
[MISC] Prepare for new translations
1 parent 26c633e commit 0867b21

File tree

6 files changed

+2050
-17
lines changed

6 files changed

+2050
-17
lines changed

Makefile

+27-16
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,54 @@
1+
# Makefile for AA Intel Tool
2+
13
appname = aa-intel-tool
4+
appname_verbose = AA Intel Tool
25
package = aa_intel_tool
36

47
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"
618

719
translationfiles:
820
#cd $(package); \
921
django-admin makemessages \
22+
-l cs \
1023
-l de \
1124
-l es \
1225
-l fr_FR \
1326
-l it_IT \
1427
-l ja \
1528
-l ko_KR \
29+
-l nl \
30+
-l pl_PL \
1631
-l ru \
32+
-l sk \
1733
-l uk \
1834
-l zh_Hans \
1935
--keep-pot \
2036
--ignore 'build/*'
2137

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-
3538
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
3744

3845
coverage:
3946
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; \
4152
coverage html; \
4253
coverage report -m
4354

0 commit comments

Comments
 (0)