mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 23:14:18 +03:00
17 lines
405 B
Batchfile
17 lines
405 B
Batchfile
|
@echo off
|
||
|
|
||
|
REM Make sure the submodule is cloned, but if it already is, don't reset it.
|
||
|
( dir /b /a "yubikey-manager" | findstr . ) > nul || (
|
||
|
git submodule init
|
||
|
git submodule update
|
||
|
)
|
||
|
|
||
|
echo Building ykman CLI for Windows...
|
||
|
cd yubikey-manager
|
||
|
poetry install
|
||
|
rmdir /s /q ..\build\windows\ykman
|
||
|
poetry run pyinstaller ykman.spec --distpath ..\build\windows
|
||
|
cd ..
|
||
|
|
||
|
echo All done, output in build/windows/
|