From dd5a4952942fbdda01ad779d648d21e5a91a87a6 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Tue, 19 Feb 2019 07:29:07 -0800 Subject: [PATCH] Adding an update-dependencies.cmd script, like CoreFX has. (#22672) --- eng/update-dependencies.cmd | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 eng/update-dependencies.cmd diff --git a/eng/update-dependencies.cmd b/eng/update-dependencies.cmd new file mode 100644 index 0000000..8a81f5b --- /dev/null +++ b/eng/update-dependencies.cmd @@ -0,0 +1,23 @@ +@if not defined _echo @echo off +setlocal + +:: Clear the 'Platform' env variable for this session, as it's a per-project setting within the build, and +:: misleading value (such as 'MCD' in HP PCs) may lead to build breakage (issue: #69). +set Platform= + +:: Restore the Tools directory +call "%~dp0..\init-tools.cmd" +if NOT [%ERRORLEVEL%]==[0] ( + exit /b 1 +) + +set "DotNetCli=%~dp0..\Tools\dotnetcli\dotnet.exe" +set "DependenciesBuildProj=%~dp0..\tests\build.proj" + +echo Running: "%DotNetCli%" msbuild "%DependenciesBuildProj%" %* +call "%DotNetCli%" msbuild "%DependenciesBuildProj%" %* +if NOT [%ERRORLEVEL%]==[0] ( + exit /b 1 +) + +exit /b 0 -- 2.7.4