mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 18:58:29 +03:00
20 lines
816 B
Batchfile
20 lines
816 B
Batchfile
@echo off
|
|
|
|
echo Building authenticator-helper for Windows...
|
|
cd helper
|
|
poetry install
|
|
rmdir /s /q ..\build\windows\helper
|
|
poetry run pyinstaller authenticator-helper.spec --distpath ..\build\windows
|
|
|
|
echo Generating license files...
|
|
rmdir /s /q ..\build\windows\helper-license-venv
|
|
poetry build
|
|
poetry run python -m venv ..\build\windows\helper-license-venv
|
|
..\build\windows\helper-license-venv\Scripts\python -m pip install --upgrade pip wheel
|
|
..\build\windows\helper-license-venv\Scripts\python -m pip install dist\authenticator_helper-0.1.0-py3-none-any.whl pip-licenses
|
|
..\build\windows\helper-license-venv\Scripts\pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper --output-file ..\assets\licenses\helper.json
|
|
|
|
cd ..
|
|
|
|
echo All done, output in build/windows/
|