Update dependencies from https://github.com/dotnet/corefx build 20190820.10 (#26291)
[platform/upstream/coreclr.git] / init-dotnet.cmd
1 @if not defined _echo @echo off
2 setlocal
3
4 echo Installing dotnet using Arcade...
5 set PS_DOTNET_INSTALL_SCRIPT=". %~dp0eng\configure-toolset.ps1; . %~dp0eng\common\tools.ps1; InitializeBuildTool"
6 echo running: powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT%
7 powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT%
8 if NOT [%ERRORLEVEL%] == [0] (
9   echo Failed to install dotnet using Arcade.
10   exit /b %ERRORLEVEL%
11 )
12
13 exit /b 0