blob: dad2d0375bf1d8f0210cf76c68fabd69fd78786b (
plain)
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
52
|
install_global=false
-include config.mk
.PHONY: all
all:
@echo "This is a python project, no compilation required"
.PHONY: install
ifeq ($(install_global), true)
install: i18n install-global
else
install: i18n install-local
endif
.PHONY: i18n-strings
i18n-strings:
python3 manage.py makemessages -l it
python3 manage.py makemessages -l de
# Also update template for new languages
python3 manage.py makemessages -l en
mv talerbank/app/locale/en/LC_MESSAGES/django.po talerbank/app/locale/django.pot
rm -r talerbank/app/locale/en/
.PHONY: i18n
i18n:
python3 manage.py compilemessages
.PHONY: install-global
install-global:
pip3 install .
.PHONY: install-local
install-local:
pip3 install . --user
# See bug #5850 for some test cases that are currently disabled.
.PHONY: check
check:
./run-tests.sh
.PHONY: clean
clean:
@echo nothing to do
.PHONY: dist
dist:
./build-common/archive-with-submodules/git_archive_all.py taler-bank.tar.gz
.PHONY: pretty
pretty:
black talerbank/
|