integrate i18n into build

This commit is contained in:
Damien Elmes 2020-01-02 20:20:23 +10:00
parent b596e5a871
commit e56ad3d1ab
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ build
pyenv
.mypy_cache
__pycache__
i18n

View file

@ -3,7 +3,7 @@
set -e
CHECKABLE="lib-rust lib-python anki-qt"
DEVEL="lib-rspy lib-python anki-qt"
DEVEL="lib-rspy lib-python anki-qt i18n"
if [ "$UNOPT" = "" ]; then
BUILDFLAGS="--release --strip"
@ -18,3 +18,6 @@ pip install --upgrade pip setuptools
# add qt if missing
python -c 'import PyQt5' 2>/dev/null || pip install -r anki-qt/requirements.qt
# fetch i18n files
test -d i18n || git clone -depth 1 https://github.com/ankitects/anki-i18n i18n