diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-11 12:36:38 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-11 12:36:38 +0200 |
commit | 925e23c5673105bc1a26ff47a81dac23aefd9c92 (patch) | |
tree | a46e6e0e1336c20b6a10c9ff49c868867655d6f7 | |
parent | f1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe (diff) | |
download | auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.tar.gz auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.tar.bz2 auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.zip |
Workaround: requirements.txt.
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -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 new file mode 100644 index 0000000..7337f92 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Babel==2.7.0 |