Skip to content
This repository was archived by the owner on Nov 9, 2018. It is now read-only.

Commit 1884cd0

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent fc38b52 commit 1884cd0

File tree

23 files changed

+20968
-129
lines changed

23 files changed

+20968
-129
lines changed

build.cmd

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ cd %~dp0
33

44
SETLOCAL
55
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
6-
SET BUILDCMD_KOREBUILD_VERSION=""
7-
SET BUILDCMD_DNX_VERSION=""
86

97
IF EXIST %CACHED_NUGET% goto copynuget
108
echo Downloading latest version of NuGet.exe...
@@ -18,21 +16,21 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1816

1917
:restore
2018
IF EXIST packages\KoreBuild goto run
21-
IF %BUILDCMD_KOREBUILD_VERSION%=="" (
22-
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
19+
IF DEFINED BUILDCMD_RELEASE (
20+
.nuget\NuGet.exe install KoreBuild -version 0.2.1-%BUILDCMD_RELEASE% -ExcludeVersion -o packages -nocache -pre
2321
) ELSE (
24-
.nuget\NuGet.exe install KoreBuild -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre
22+
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
2523
)
2624
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
2725

2826
IF "%SKIP_DNX_INSTALL%"=="1" goto run
29-
IF %BUILDCMD_DNX_VERSION%=="" (
30-
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
27+
IF DEFINED BUILDCMD_RELEASE (
28+
CALL packages\KoreBuild\build\dnvm install 1.0.0-%BUILDCMD_RELEASE% -runtime CLR -arch x86 -a default
3129
) ELSE (
32-
CALL packages\KoreBuild\build\dnvm install %BUILDCMD_DNX_VERSION% -runtime CLR -arch x86 -a default
30+
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
3331
)
3432
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86
3533

3634
:run
3735
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
38-
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
36+
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"version": "1.0.0-*",
2+
"version": "1.0.0-beta7",
33
"repository": {
44
"type": "git",
55
"url": "git://github.com/aspnet/testing"
66
},
77
"dependencies": {
8-
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
9-
"xunit.runner.aspnet": "2.0.0-aspnet-*"
8+
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta7",
9+
"xunit.runner.aspnet": "2.0.0-aspnet-beta7"
1010
},
1111
"frameworks": {
1212
"dnx451": {
@@ -18,13 +18,13 @@
1818
},
1919
"dnxcore50": {
2020
"dependencies": {
21-
"System.Runtime": "4.0.21-beta-*",
22-
"System.Runtime.InteropServices": "4.0.21-beta-*",
23-
"System.Globalization": "4.0.11-beta-*",
24-
"System.Threading.Tasks": "4.0.11-beta-*",
25-
"System.Reflection": "4.0.11-beta-*",
26-
"System.Threading.Thread": "4.0.0-beta-*"
21+
"System.Runtime": "4.0.21-beta-23225",
22+
"System.Runtime.InteropServices": "4.0.21-beta-23225",
23+
"System.Globalization": "4.0.11-beta-23225",
24+
"System.Threading.Tasks": "4.0.11-beta-23225",
25+
"System.Reflection": "4.1.0-beta-23225",
26+
"System.Threading.Thread": "4.0.0-beta-23225"
2727
}
2828
}
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)