2015-10-08 21:41:04 +00:00
|
|
|
@echo off
|
|
|
|
|
2015-10-19 06:29:51 +00:00
|
|
|
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
|
2015-10-08 21:41:04 +00:00
|
|
|
)
|
|
|
|
|
2015-10-19 06:29:51 +00:00
|
|
|
:continue
|
2015-10-20 16:05:17 +00:00
|
|
|
call %~dp0scripts/bootstrap.cmd
|
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
|
|
|
|
call %~dp0scripts/package.cmd
|
2015-10-19 06:29:51 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|