966bba02bb
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
27 lines
760 B
Batchfile
27 lines
760 B
Batchfile
@if not defined _echo @echo off
|
|
setlocal
|
|
|
|
if /I [%1] == [-?] goto Usage
|
|
|
|
:Build
|
|
call %~dp0build-native.cmd %*
|
|
if NOT [%ERRORLEVEL%]==[0] exit /b 1
|
|
call %~dp0build-managed.cmd -BuildPackages=true %*
|
|
exit /b %ERRORLEVEL%
|
|
|
|
:Usage
|
|
echo.
|
|
echo There are new changes on how we build. Use this script only for generic
|
|
echo build instructions that apply for both build native and build managed.
|
|
echo Otherwise:
|
|
echo.
|
|
echo Before Now
|
|
echo build.cmd native build-native.cmd
|
|
echo build.cmd managed build-managed.cmd
|
|
echo.
|
|
echo For more information: "https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/developer-guide.md"
|
|
echo ----------------------------------------------------------------------------
|
|
echo.
|
|
echo.
|
|
goto :Build
|