Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2015-10-28 21:27:04 +0300
committerKacper Michajłow <kasper93@gmail.com>2015-11-10 23:41:58 +0300
commitb94c536a2cb6892ada350f4bc85a528f110bbf93 (patch)
treecddf63b02365f2535a8b18a13d5a7e59c052ea99 /build.bat
parent35806fcd4cf79486f5cbac597fd2b0c8d951a358 (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-xbuild.bat17
1 files changed, 4 insertions, 13 deletions
diff --git a/build.bat b/build.bat
index d56522324..8c4476b18 100755
--- a/build.bat
+++ b/build.bat
@@ -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