Merge commit 'fae2a56cd032d9b68c58fd4dc960160b7013842a' into masterMerge
[platform/upstream/coreclr.git] / eng / update-dependencies.cmd
1 @if not defined _echo @echo off
2 setlocal
3
4 :: Clear the 'Platform' env variable for this session, as it's a per-project setting within the build, and
5 :: misleading value (such as 'MCD' in HP PCs) may lead to build breakage (issue: #69).
6 set Platform=
7
8 :: Restore the Tools directory
9 call "%~dp0..\init-tools.cmd"
10 if NOT [%ERRORLEVEL%]==[0] (
11   exit /b 1
12 )
13
14 set "DotNetCli=%~dp0..\Tools\dotnetcli\dotnet.exe"
15 set "DependenciesBuildProj=%~dp0..\tests\build.proj"
16
17 echo Running: "%DotNetCli%" msbuild "%DependenciesBuildProj%" %*
18 call "%DotNetCli%" msbuild "%DependenciesBuildProj%" %*
19 if NOT [%ERRORLEVEL%]==[0] (
20   exit /b 1
21 )
22
23 exit /b 0