Add language compilation to build process (maybe?)

This commit is contained in:
blitzmann
2020-06-24 12:51:19 -04:00
parent e56db0d129
commit bcd7e6d56d
2 changed files with 3 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ build_script:
- ps: echo("Build pyfa:")
# Build gamedata DB
- cmd: "python db_update.py"
# Build language files
- cmd: "python scripts/compile_lang.py"
# Build command for PyInstaller
- cmd: "python -m PyInstaller --noupx --clean --windowed --noconsole -y pyfa.spec"
# Copy over manifest (See pyfa-org/pyfa#1622)

View File

@@ -13,6 +13,7 @@ before_install:
- bash scripts/setup-osx.sh
install:
- python3 db_update.py
- python3 scripts/compile_lang.py
- export PYFA_VERSION="$(python3 scripts/dump_version.py)"
- bash scripts/package-osx.sh
before_deploy: