mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Also gen new language tags from build.bat
This commit is contained in:
parent
34ead1c55c
commit
a2a0ee4fdb
18
build.bat
18
build.bat
@ -14,14 +14,6 @@ IF /I "%~1" == "-?" GOTO ShowHelp
|
||||
ECHO Getting latest changes...
|
||||
git pull
|
||||
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 Starting compilation...
|
||||
|
||||
REM Set environment variables for Visual Studio command line if necessary
|
||||
@ -100,6 +92,16 @@ IF EXIST "%VSINSTALLDIR%MSBuild\Current\Bin\MSBuild.exe" (
|
||||
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"^
|
||||
/maxcpucount /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
||||
IF %ERRORLEVEL% NEQ 0 GOTO EndWithError
|
||||
|
Loading…
Reference in New Issue
Block a user