commit 925e23c5673105bc1a26ff47a81dac23aefd9c92 parent f1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Tue, 11 Jun 2019 12:36:38 +0200 Workaround: requirements.txt. Diffstat:
| M | Makefile | | | 5 | ++++- |
| A | requirements.txt | | | 1 | + |
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -8,6 +8,9 @@ include config.mk +requirements: + pip3 install -r requirements.txt + # All: build HTML pages in all languages and compile the # TypeScript logic in web-common. all: locale template @@ -21,7 +24,7 @@ locale/messages.pot: *.j2 # common/*.j2 common/*.j2.inc locale-update: locale/messages.pot msgmerge -U -m --previous locale/en/LC_MESSAGES/messages.po locale/messages.pot - if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi + @if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi # Compile translation files for use. locale-compile: diff --git a/requirements.txt b/requirements.txt @@ -0,0 +1 @@ +Babel==2.7.0