mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Try to make build_beta.bat alway make new language tags
This commit is contained in:
parent
5cc15b481a
commit
abf0daff9b
@ -14,19 +14,15 @@ IF /I "%~1" == "-?" GOTO ShowHelp
|
|||||||
ECHO Getting latest changes...
|
ECHO Getting latest changes...
|
||||||
git pull
|
git pull
|
||||||
ECHO.
|
ECHO.
|
||||||
|
|
||||||
ECHO Check for new translation strings...
|
|
||||||
SET "LanguageToolPath=src\UpdateLanguageFiles\bin\debug\UpdateLanguageFiles.exe"
|
|
||||||
IF NOT EXIST "%LanguageToolPath%" (
|
|
||||||
ECHO Compile UpdateLanguageFiles!
|
|
||||||
)
|
|
||||||
"%LanguageToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs"
|
|
||||||
ECHO.
|
|
||||||
|
|
||||||
ECHO Starting compilation...
|
ECHO Starting compilation...
|
||||||
|
|
||||||
|
REM MAKE DIR/CLEAN
|
||||||
|
IF NOT EXIST SubtitleEditBeta (
|
||||||
MD SubtitleEditBeta
|
MD SubtitleEditBeta
|
||||||
|
)
|
||||||
|
IF EXIST SubtitleEditBeta\SubtitleEditBeta.zip (
|
||||||
DEL SubtitleEditBeta\SubtitleEditBeta.zip
|
DEL SubtitleEditBeta\SubtitleEditBeta.zip
|
||||||
|
)
|
||||||
|
|
||||||
REM Set environment variables for Visual Studio command line if necessary
|
REM Set environment variables for Visual Studio command line if necessary
|
||||||
:SetVsCmdLineEnv
|
:SetVsCmdLineEnv
|
||||||
@ -102,6 +98,18 @@ IF EXIST "%VSINSTALLDIR%MSBuild\Current\Bin\MSBuild.exe" (
|
|||||||
GOTO EndWithError
|
GOTO EndWithError
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
||||||
|
ECHO Check for new translation strings...
|
||||||
|
"%MSBUILD%" src\UpdateLanguageFiles\UpdateLanguageFiles.csproj /r /t:Rebuild /p:Configuration=Debug /p:Platform="Any CPU"^
|
||||||
|
/maxcpucount /p:OutputPath=bin\debug /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
||||||
|
SET "LanguageToolPath=src\UpdateLanguageFiles\bin\debug\UpdateLanguageFiles.exe"
|
||||||
|
IF NOT EXIST "%LanguageToolPath%" (
|
||||||
|
ECHO Compile UpdateLanguageFiles!
|
||||||
|
)
|
||||||
|
"%LanguageToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs"
|
||||||
|
ECHO.
|
||||||
|
|
||||||
|
|
||||||
"%MSBUILD%" SubtitleEdit.sln /r /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^
|
"%MSBUILD%" SubtitleEdit.sln /r /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^
|
||||||
/maxcpucount /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
/maxcpucount /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
||||||
IF %ERRORLEVEL% NEQ 0 GOTO EndWithError
|
IF %ERRORLEVEL% NEQ 0 GOTO EndWithError
|
||||||
|
Loading…
Reference in New Issue
Block a user