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

build.cmd - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c960791b5d4741cc8f1e863ebcf29d6086ca176f (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@if not defined _echo @echo off
setlocal EnableDelayedExpansion

set __ThisScriptShort=%0

if /i "%1" == "/?"    goto HelpVarCall
if /i "%1" == "-?"    goto HelpVarCall
if /i "%1" == "/h"    goto HelpVarCall
if /i "%1" == "-h"    goto HelpVarCall
if /i "%1" == "/help" goto HelpVarCall
if /i "%1" == "-help" goto HelpVarCall

goto :NormalVarCall

:HelpVarCall
call %~dp0buildscripts\buildvars-setup.cmd -help
exit /b 1

:NormalVarCall
call %~dp0buildscripts\buildvars-setup.cmd %*

IF NOT ERRORLEVEL 1 goto AfterVarSetup
echo Setting build variables failed.
exit /b %ERRORLEVEL%

:AfterVarSetup

echo Commencing CoreRT Repo build
echo.

call %~dp0buildscripts\build-native.cmd %*

IF NOT ERRORLEVEL 1 goto AfterNativeBuild
echo Native component build failed. Refer !__NativeBuildLog! for details.
exit /b %ERRORLEVEL%

:AfterNativeBuild

call %~dp0buildscripts\build-managed.cmd %*

IF NOT ERRORLEVEL 1 goto AfterManagedBuild
echo Managed component build failed. Refer !__BuildLog! for details.
exit /b %ERRORLEVEL%

:AfterManagedBuild

call %~dp0buildscripts\build-tests.cmd %*

IF NOT ERRORLEVEL 1 goto AfterTests
echo Tests failed.
exit /b %ERRORLEVEL%

:AfterTests