-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.bat
20 lines (18 loc) · 817 Bytes
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
cd %~dp0
rmdir /S /Q src/build
rmdir /S /Q build
rmdir /S /Q src\Thumbparams_Configurator\Thumbparams_Configurator\bin
cd src/Thumbparams_Configurator
dotnet publish -r win-x64
cd ..
"../.venv/Scripts/python.exe" setup.py build
cd build
robocopy exe.win-amd64-3.11 ThumbparamsOSC /MOVE /E /NFL /NDL /NJH /NJS /nc /ns /np
cd ..
powershell -c "copy Thumbparams_Configurator\Thumbparams_Configurator\bin\Debug\net4.8.1-windows\win-x64\publish\Thumbparams_Configurator.exe build/ThumbparamsOSC/Configurator.exe"
powershell -c "copy Thumbparams_Configurator\Thumbparams_Configurator\bin\Debug\net4.8.1-windows\win-x64\publish\Newtonsoft.Json.dll build/ThumbparamsOSC/Newtonsoft.Json.dll"
cd %~dp0
robocopy src/build build /MOVE /E /NFL /NDL /NJH /NJS /nc /ns /np
cd build
7z a ThumbparamsOSC.zip ThumbparamsOSC