add build_beta.bat to "Solution items"

This commit is contained in:
Nikolaj Olsson 2020-12-01 22:37:09 +01:00
parent 4e4667e202
commit f049494e47
2 changed files with 5 additions and 12 deletions

View File

@ -22,6 +22,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B1BB9DD1-0EE8-4D43-AAAB-C39D0CC882A9}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B1BB9DD1-0EE8-4D43-AAAB-C39D0CC882A9}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
build.bat = build.bat build.bat = build.bat
build_beta.bat = build_beta.bat
build_helpers.bat = build_helpers.bat build_helpers.bat = build_helpers.bat
Changelog.txt = Changelog.txt Changelog.txt = Changelog.txt
LICENSE.txt = LICENSE.txt LICENSE.txt = LICENSE.txt
@ -39,6 +40,10 @@ Global
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Release|Any CPU.Build.0 = Release|Any CPU
{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Debug|Any CPU.Build.0 = Debug|Any CPU {7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Release|Any CPU.ActiveCfg = Release|Any CPU {7BE5B8E8-9469-4C7C-89D7-E8C884DEFC0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -61,10 +66,6 @@ Global
{D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}.Debug|Any CPU.Build.0 = Debug|Any CPU {D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}.Release|Any CPU.ActiveCfg = Release|Any CPU {D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}.Release|Any CPU.Build.0 = Release|Any CPU {D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}.Release|Any CPU.Build.0 = Release|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{511A5B59-1C35-4719-8536-23B19AF9B21A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -55,7 +55,6 @@ ECHO.
CALL "%VsDevCmd_bat%" -startdir=none CALL "%VsDevCmd_bat%" -startdir=none
GOTO SetVsCmdLineEnv GOTO SetVsCmdLineEnv
:SetBuildType :SetBuildType
IF "%~1" == "" ( IF "%~1" == "" (
SET "BUILDTYPE=Build" SET "BUILDTYPE=Build"
@ -78,7 +77,6 @@ IF "%~1" == "" (
GOTO EndWithError GOTO EndWithError
) )
:START :START
TITLE %BUILDTYPE%ing Subtitle Edit - Release^|Any CPU... TITLE %BUILDTYPE%ing Subtitle Edit - Release^|Any CPU...
ECHO. ECHO.
@ -125,7 +123,6 @@ IF DEFINED SEVENZIP IF EXIST "%SEVENZIP%" (
TITLE %BUILDTYPE%ing Subtitle Edit finished! TITLE %BUILDTYPE%ing Subtitle Edit finished!
GOTO END GOTO END
:EndWithError :EndWithError
TITLE Compiling Subtitle Edit [ERROR] TITLE Compiling Subtitle Edit [ERROR]
ECHO. ECHO.
@ -133,7 +130,6 @@ ECHO.
ECHO ** ERROR: Build failed and aborted! ** ECHO ** ERROR: Build failed and aborted! **
GOTO END GOTO END
:ShowHelp :ShowHelp
TITLE %~nx0 %1 TITLE %~nx0 %1
ECHO. ECHO.
@ -145,7 +141,6 @@ ECHO The arguments are not case sensitive.
ECHO. ECHO.
ECHO Executing %~nx0 without any arguments is equivalent to "%~nx0 build". ECHO Executing %~nx0 without any arguments is equivalent to "%~nx0 build".
:END :END
ECHO. ECHO.
ECHO. ECHO.
@ -153,7 +148,6 @@ ENDLOCAL
PAUSE PAUSE
EXIT /B EXIT /B
:SubZipFile :SubZipFile
TITLE Creating ZIP archive with 7-Zip... TITLE Creating ZIP archive with 7-Zip...
ECHO. ECHO.
@ -187,10 +181,8 @@ MOVE /Y "SubtitleEditBeta.zip" "..\..\..\..\..\SubtitleEditBeta" >NUL
POPD POPD
IF EXIST "temp_zip" RD /S /Q "temp_zip" IF EXIST "temp_zip" RD /S /Q "temp_zip"
POPD POPD
EXIT /B EXIT /B
:SubDetectSevenzipPath :SubDetectSevenzipPath
FOR %%G IN (7z.exe) DO (SET "SEVENZIP_PATH=%%~$PATH:G") FOR %%G IN (7z.exe) DO (SET "SEVENZIP_PATH=%%~$PATH:G")
IF EXIST "%SEVENZIP_PATH%" (SET "SEVENZIP=%SEVENZIP_PATH%" & EXIT /B) IF EXIST "%SEVENZIP_PATH%" (SET "SEVENZIP=%SEVENZIP_PATH%" & EXIT /B)