This repository was archived by the owner on Nov 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 44SETLOCAL
55SET NUGET_VERSION = latest
66SET CACHED_NUGET = %LocalAppData% \NuGet\nuget.%NUGET_VERSION% .exe
7- SET BUILDCMD_KOREBUILD_VERSION = " "
8- SET BUILDCMD_DNX_VERSION = " "
7+ SET BUILDCMD_KOREBUILD_VERSION =
8+ SET BUILDCMD_DNX_VERSION =
99
1010IF EXIST %CACHED_NUGET% goto copynuget
1111echo Downloading latest version of NuGet.exe...
@@ -19,18 +19,18 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1919
2020:restore
2121IF EXIST packages\Sake goto getdnx
22- IF %BUILDCMD_KOREBUILD_VERSION% == " " (
22+ IF " %BUILDCMD_KOREBUILD_VERSION% " == " " (
2323 .nuget\nuget.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
2424) ELSE (
2525 .nuget\nuget.exe install KoreBuild -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre
2626)
2727.nuget\NuGet.exe install Sake -ExcludeVersion -Source https://www.nuget.org/api/v2/ -Out packages
2828
2929:getdnx
30+ IF " %BUILDCMD_DNX_VERSION% " == " " (
31+ SET BUILDCMD_DNX_VERSION = latest
32+ )
3033IF " %SKIP_DNX_INSTALL% " == " " (
31- IF " %BUILDCMD_DNX_VERSION% " == " " (
32- BUILDCMD_DNX_VERSION=latest
33- )
3434 CALL packages\KoreBuild\build\dnvm install %BUILDCMD_DNX_VERSION% -runtime CoreCLR -arch x86 -alias default
3535 CALL packages\KoreBuild\build\dnvm install default -runtime CLR -arch x86 -alias default
3636) ELSE (
You can’t perform that action at this time.
0 commit comments