diff options
author | Tanner Gooding <tagoo@outlook.com> | 2019-02-19 07:29:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 07:29:07 -0800 |
commit | dd5a4952942fbdda01ad779d648d21e5a91a87a6 (patch) | |
tree | fb9f942a56f36c2523cf6c439002b0101497b75c /eng/update-dependencies.cmd | |
parent | 388a7d415d8f5b45c3ca6e74d8b0885a20d0b962 (diff) | |
download | coreclr-dd5a4952942fbdda01ad779d648d21e5a91a87a6.tar.gz coreclr-dd5a4952942fbdda01ad779d648d21e5a91a87a6.tar.bz2 coreclr-dd5a4952942fbdda01ad779d648d21e5a91a87a6.zip |
Adding an update-dependencies.cmd script, like CoreFX has. (#22672)
Diffstat (limited to 'eng/update-dependencies.cmd')
-rw-r--r-- | eng/update-dependencies.cmd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/eng/update-dependencies.cmd b/eng/update-dependencies.cmd new file mode 100644 index 0000000000..8a81f5b8d8 --- /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 |