dotnet-installer/build.cmd
Andrew Stanton-Nurse ca4d160fc3 implement bootstrapping without DNX
* fix up dnvm2 port
* produce packages ready for CI to publish
* remove dependency on DNX for stage0 (still needed for restore)
2015-10-20 17:36:25 -07:00

17 lines
539 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.cmd
if %errorlevel% neq 0 exit /b %errorlevel%
call %~dp0scripts/package.cmd
if %errorlevel% neq 0 exit /b %errorlevel%