This repository has been archived by the owner on Dec 28, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
72 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,6 @@ nuget.exe | |
*.ipch | ||
*.sln.ide | ||
project.lock.json | ||
runtimes/ | ||
.build/ | ||
.testPublish/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" /> | ||
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" /> | ||
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetcidev/api/v2" /> | ||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<clear /> | ||
<add key="AspNetVNext" value="https://www.myget.org/f/aspnetmaster/api/v3/index.json" /> | ||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
@echo off | ||
cd %~dp0 | ||
|
||
@ECHO off | ||
SETLOCAL | ||
|
||
SET REPO_FOLDER=%~dp0 | ||
CD "%REPO_FOLDER%" | ||
|
||
SET BUILD_FOLDER=.build | ||
SET KOREBUILD_FOLDER=%BUILD_FOLDER%\KoreBuild-dotnet | ||
SET KOREBUILD_VERSION= | ||
|
||
SET NUGET_PATH=%BUILD_FOLDER%\NuGet.exe | ||
SET NUGET_VERSION=latest | ||
SET CACHED_NUGET=%LocalAppData%\NuGet\nuget.%NUGET_VERSION%.exe | ||
SET BUILDCMD_KOREBUILD_VERSION= | ||
SET BUILDCMD_DNX_VERSION= | ||
|
||
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://dist.nuget.org/win-x86-commandline/%NUGET_VERSION%/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\Sake goto getdnx | ||
IF "%BUILDCMD_KOREBUILD_VERSION%"=="" ( | ||
.nuget\nuget.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre | ||
) ELSE ( | ||
.nuget\nuget.exe install KoreBuild -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre | ||
|
||
IF NOT EXIST %BUILD_FOLDER% ( | ||
md %BUILD_FOLDER% | ||
) | ||
.nuget\NuGet.exe install Sake -ExcludeVersion -Source https://www.nuget.org/api/v2/ -Out packages | ||
|
||
:getdnx | ||
IF "%BUILDCMD_DNX_VERSION%"=="" ( | ||
SET BUILDCMD_DNX_VERSION=latest | ||
IF NOT EXIST %NUGET_PATH% ( | ||
IF NOT EXIST %CACHED_NUGET% ( | ||
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://dist.nuget.org/win-x86-commandline/%NUGET_VERSION%/nuget.exe' -OutFile '%CACHED_NUGET%'" | ||
) | ||
|
||
copy %CACHED_NUGET% %NUGET_PATH% > nul | ||
) | ||
IF "%SKIP_DNX_INSTALL%"=="" ( | ||
CALL packages\KoreBuild\build\dnvm install %BUILDCMD_DNX_VERSION% -runtime CoreCLR -arch x86 -alias default | ||
CALL packages\KoreBuild\build\dnvm install default -runtime CLR -arch x86 -alias default | ||
) ELSE ( | ||
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86 | ||
|
||
IF NOT EXIST %KOREBUILD_FOLDER% ( | ||
SET KOREBUILD_DOWNLOAD_ARGS= | ||
IF NOT "%KOREBUILD_VERSION%"=="" ( | ||
SET KOREBUILD_DOWNLOAD_ARGS=-version %KOREBUILD_VERSION% | ||
) | ||
|
||
%BUILD_FOLDER%\nuget.exe install KoreBuild-dotnet -ExcludeVersion -o %BUILD_FOLDER% -nocache -pre %KOREBUILD_DOWNLOAD_ARGS% | ||
) | ||
|
||
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %* | ||
"%KOREBUILD_FOLDER%\build\KoreBuild.cmd" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.