diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2015-10-28 21:27:04 +0300 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2015-11-10 23:41:58 +0300 |
commit | b94c536a2cb6892ada350f4bc85a528f110bbf93 (patch) | |
tree | cddf63b02365f2535a8b18a13d5a7e59c052ea99 /build.bat | |
parent | 35806fcd4cf79486f5cbac597fd2b0c8d951a358 (diff) |
Remove .rc files from repository.
Those files are generated by sync scripts. We need to stop our
repository from growing because of useless binary files being committed
on every translation change.
Additionally build translations in parallel. This speed up build time
significantly.
Diffstat (limited to 'build.bat')
-rwxr-xr-x | build.bat | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -273,19 +273,10 @@ EXIT /B :SubMPCRresources
IF %ERRORLEVEL% NEQ 0 EXIT /B
-FOR %%G IN (
- "Arabic" "Armenian" "Basque" "Belarusian" "Bengali" "Catalan" "Chinese Simplified"
- "Chinese Traditional" "Croatian" "Czech" "Danish" "Dutch" "English (British)"
- "Finnish" "French" "Galician" "German" "Greek" "Hebrew" "Hungarian" "Indonesian"
- "Italian" "Japanese" "Korean" "Lithuanian" "Malay" "Polish" "Portuguese (Brazil)"
- "Punjabi" "Romanian" "Russian" "Serbian" "Slovak" "Slovenian" "Spanish" "Swedish"
- "Tatar" "Thai" "Turkish" "Ukrainian" "Vietnamese"
-) DO (
- TITLE Compiling mpcresources %COMPILER% - %%~G^|%1...
- MSBuild.exe mpcresources.sln %MSBUILD_SWITCHES%^
- /target:%BUILDTYPE% /property:Configuration="Release %%~G";Platform=%1
- IF %ERRORLEVEL% NEQ 0 CALL "%COMMON%" :SubMsg "ERROR" "Compilation failed!" & EXIT /B
-)
+TITLE Compiling mpcresources %COMPILER%...
+MSBuild.exe mpcresources.sln %MSBUILD_SWITCHES%^
+ /target:%BUILDTYPE% /property:Configuration="Release";Platform=%1
+IF %ERRORLEVEL% NEQ 0 CALL "%COMMON%" :SubMsg "ERROR" "Compilation failed!" & EXIT /B
IF /I "%SIGN%" == "True" CALL :SubSign MPC-HC mpcresources.??.dll Lang
IF /I "%SIGN%" == "True" CALL :SubSign MPC-HC mpcresources.??_??.dll Lang
EXIT /B
|