forked from dotnet/corefx
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.cmd
28 lines (25 loc) · 834 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@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 -FilterToOSGroup=Windows_NT %*
if NOT [%ERRORLEVEL%]==[0] exit /b 1
call %~dp0build-tests.cmd %*
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