-
Notifications
You must be signed in to change notification settings - Fork 16
/
deploy.bat
21 lines (14 loc) · 837 Bytes
/
deploy.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if "%RETROPLUG_VERSION%"=="" exit /b 1
echo Deploying RetroPlug "%RETROPLUG_VERSION%"
mkdir build\deploy
premake5 vs2019
msbuild build/vs2019/ScriptCompiler.vcxproj /property:Configuration=Release /property:Platform=x64 /m
build\vs2019\bin\x64\Release\ScriptCompiler.exe src\compiler.config.lua
premake5 vs2019
msbuild build/vs2019/RetroPlug.sln /property:Configuration=Release /property:Platform=x64 /m
copy build\vs2019\bin\x64\Release\RetroPlug_app_x64.exe build\deploy\RetroPlug-%RETROPLUG_VERSION%.exe
copy build\vs2019\bin\x64\Release\RetroPlug_vst2_x64.dll "build\deploy\RetroPlug %RETROPLUG_VERSION% (64bit).dll"
cd build\deploy
7z a RetroPlug_standalone-win64-%RETROPLUG_VERSION%.zip RetroPlug-%RETROPLUG_VERSION%.exe
7z a RetroPlug_vst2-win64-%RETROPLUG_VERSION%.zip "RetroPlug %RETROPLUG_VERSION% (64bit).dll"
cd ..\..