14 lines
461 B
Batchfile
14 lines
461 B
Batchfile
@echo off
|
|
|
|
setlocal EnableDelayedExpansion
|
|
where dnvm
|
|
if %ERRORLEVEL% neq 0 (
|
|
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
|
|
set PATH=!PATH!;!USERPROFILE!\.dnx\bin
|
|
set DNX_HOME=!USERPROFILE!\.dnx
|
|
goto continue
|
|
)
|
|
|
|
:continue
|
|
call %~dp0scripts/bootstrap
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|