diff options
author | Elinor Fung <47805090+elinor-fung@users.noreply.github.com> | 2019-05-30 14:58:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 14:58:09 -0700 |
commit | fa8383fb28be945cae900a5579afd5920f274fd4 (patch) | |
tree | 43db252786cea19fa8515c9e2e5fa81127ec82b5 /init-dotnet.cmd | |
parent | 7e17986ff71a70ba328895e0b99e1de83d1bf5b5 (diff) | |
download | coreclr-fa8383fb28be945cae900a5579afd5920f274fd4.tar.gz coreclr-fa8383fb28be945cae900a5579afd5920f274fd4.tar.bz2 coreclr-fa8383fb28be945cae900a5579afd5920f274fd4.zip |
Remove BuildTools from product build (#24841)
* Remove BuildTools imports from product build
* Split scripts for installing dotnet vs BuildTools
Diffstat (limited to 'init-dotnet.cmd')
-rw-r--r-- | init-dotnet.cmd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init-dotnet.cmd b/init-dotnet.cmd new file mode 100644 index 0000000000..ad70b4c42a --- /dev/null +++ b/init-dotnet.cmd @@ -0,0 +1,13 @@ +@if not defined _echo @echo off +setlocal + +echo Installing dotnet using Arcade... +set PS_DOTNET_INSTALL_SCRIPT=". %~dp0eng\configure-toolset.ps1; . %~dp0eng\common\tools.ps1; InitializeBuildTool" +echo running: powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT% +powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT% +if NOT [%ERRORLEVEL%] == [0] ( + echo Failed to install dotnet using Arcade. + exit /b %ERRORLEVEL% +) + +exit /b 0
\ No newline at end of file |