ca4d160fc3
* fix up dnvm2 port * produce packages ready for CI to publish * remove dependency on DNX for stage0 (still needed for restore)
17 lines
539 B
Batchfile
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%
|