OLD | NEW |
1 @echo off | 1 @echo off |
2 setlocal | 2 setlocal |
3 | 3 |
4 set BUILD_ERRORLEVEL= | 4 set BUILD_ERRORLEVEL= |
5 :: Set up the Visual Studio environment | 5 :: Set up the Visual Studio environment |
6 call "%VS100COMNTOOLS%vsvars32.bat" | 6 call "%VS100COMNTOOLS%vsvars32.bat" |
7 msbuild "%~dp0NativeClientVSAddIn.sln" | 7 msbuild "%~dp0NativeClientVSAddIn.sln" |
8 if %ERRORLEVEL% NEQ 0 goto endbuild | 8 if %ERRORLEVEL% NEQ 0 goto endbuild |
| 9 |
| 10 call "%VS110COMNTOOLS%vsvars32.bat" |
| 11 msbuild "%~dp0NativeClientVSAddIn_2012.sln" |
| 12 if %ERRORLEVEL% NEQ 0 goto endbuild |
| 13 |
9 python "%~dp0create_package.py" | 14 python "%~dp0create_package.py" |
10 | 15 |
11 endlocal & set BUILD_ERRORLEVEL=%ERRORLEVEL% | 16 endlocal & set BUILD_ERRORLEVEL=%ERRORLEVEL% |
12 | 17 |
13 :endbuild | 18 :endbuild |
14 exit /B %BUILD_ERRORLEVEL% | 19 exit /B %BUILD_ERRORLEVEL% |
OLD | NEW |