Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1014 B

@echo off
cd %~dp0
SETLOCAL
SET CACHED_NUGET="%LocalAppData%\NuGet\NuGet.exe"
IF EXIST %CACHED_NUGET% goto copynuget
echo Downloading latest version of NuGet.exe...
IF NOT EXIST "%LocalAppData%\NuGet" md "%LocalAppData%\NuGet"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '%CACHED_NUGET%'"
:copynuget
IF EXIST .nuget\nuget.exe goto restore
md .nuget
copy %CACHED_NUGET% .nuget\nuget.exe > nul
:restore
IF EXIST packages\KoreBuild goto run
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
CALL packages\KoreBuild\build\dnvm upgrade -runtime clr -arch x86
CALL packages\KoreBuild\build\dnvm install default -runtime clr -arch x86
:run
CALL packages\KoreBuild\build\dnvm use default -runtime clr -arch x86
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -I build -f makefile.shade %*