summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-11 12:36:38 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-11 12:36:38 +0200
commit925e23c5673105bc1a26ff47a81dac23aefd9c92 (patch)
treea46e6e0e1336c20b6a10c9ff49c868867655d6f7
parentf1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe (diff)
downloadauditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.tar.gz
auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.tar.bz2
auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.zip
Workaround: requirements.txt.
-rw-r--r--Makefile5
-rw-r--r--requirements.txt1
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6f461f..18ab52c 100644
--- 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
new file mode 100644
index 0000000..7337f92
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+Babel==2.7.0