-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
22 lines (22 loc) · 1007 Bytes
/
build.cmd
File metadata and controls
22 lines (22 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
rem scoop update *
pip install pyinstaller --upgrade
pip install hbmqtt --upgrade
pip install bcf --upgrade
pip install bcg --upgrade
pip install bch --upgrade
cd script
if exist dist rmdir /s /q dist
if exist build rmdir /s /q build
pyinstaller -p "%USERPROFILE%\scoop\apps\python\current\Lib\site-packages\hbmqtt" -n hbmqtt hbmqttrun.py
pyinstaller -p "%USERPROFILE%\scoop\apps\python\current\Lib\site-packages\bcf" -n bcf bcfrun.py
pyinstaller -p "%USERPROFILE%\scoop\apps\python\current\Lib\site-packages\bch" -n bch bchrun.py
pyinstaller -p "%USERPROFILE%\scoop\apps\python\current\Lib\site-packages\bcg" -n bcg bcgrun.py
if exist dist\bc rmdir /s /q dist\tools
mkdir dist\tools
xcopy dist\bcf dist\tools
xcopy dist\bcg dist\tools /y
xcopy dist\bch dist\tools /y
xcopy dist\hbmqtt dist\tools /y
cd ..
git\mingw32\bin\busybox sed -i "s/autocrlf = true/autocrlf = false/g" git\mingw32\etc\gitconfig
"%USERPROFILE%\scoop\apps\innosetup-np\current\ISCC.exe" bch-toolchain-windows.iss