ssh_config/tools/build.ps1

15 lines
402 B
PowerShell

# CLEAN
./tools/clean.ps1
# pyarmor gen -O dist -i src --recursive
# cython
# pyinstaller --clean --onefile -i "NONE" --add-data "data;data" ./src/main.py
(pyinstaller --clean --distpath ./dist --workpath ./build main.spec) -and (pyinstaller .\main.spec)
# upxs
# RUN.................................................................................................
./dist/main.exe
./tools/test.ps1