mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
integrate i18n into build
This commit is contained in:
parent
b596e5a871
commit
e56ad3d1ab
2 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,3 +10,4 @@ build
|
||||||
pyenv
|
pyenv
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
__pycache__
|
__pycache__
|
||||||
|
i18n
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CHECKABLE="lib-rust lib-python anki-qt"
|
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
|
if [ "$UNOPT" = "" ]; then
|
||||||
BUILDFLAGS="--release --strip"
|
BUILDFLAGS="--release --strip"
|
||||||
|
@ -18,3 +18,6 @@ pip install --upgrade pip setuptools
|
||||||
|
|
||||||
# add qt if missing
|
# add qt if missing
|
||||||
python -c 'import PyQt5' 2>/dev/null || pip install -r anki-qt/requirements.qt
|
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
|
||||||
|
|
Loading…
Reference in a new issue