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

Commit e25d4a3

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent c4bfbb5 commit e25d4a3

File tree

11 files changed

+10467
-158
lines changed

11 files changed

+10467
-158
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: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
{
2-
"description": "Runtime components for rendering Razor pages.",
3-
"version": "4.0.0-*",
4-
"repository": {
5-
"type": "git",
6-
"url": "git://github.com/aspnet/razor"
7-
},
8-
"dependencies": {
9-
"Microsoft.AspNet.Html.Abstractions": "1.0.0-*",
10-
"Microsoft.AspNet.Razor": "4.0.0-*",
11-
"Microsoft.Framework.BufferedHtmlContent.Sources": {
12-
"type": "build",
13-
"version": "1.0.0-*"
2+
"description": "Runtime components for rendering Razor pages.",
3+
"version": "4.0.0-beta7",
4+
"repository": {
5+
"type": "git",
6+
"url": "git://github.com/aspnet/razor"
147
},
15-
"Microsoft.Framework.ClosedGenericMatcher.Sources": {
16-
"type": "build",
17-
"version": "1.0.0-*"
8+
"dependencies": {
9+
"Microsoft.AspNet.Html.Abstractions": "1.0.0-beta7",
10+
"Microsoft.AspNet.Razor": "4.0.0-beta7",
11+
"Microsoft.Framework.BufferedHtmlContent.Sources": {
12+
"type": "build",
13+
"version": "1.0.0-beta7"
14+
},
15+
"Microsoft.Framework.ClosedGenericMatcher.Sources": {
16+
"type": "build",
17+
"version": "1.0.0-beta7"
18+
},
19+
"Microsoft.Framework.CopyOnWriteDictionary.Sources": {
20+
"type": "build",
21+
"version": "1.0.0-beta7"
22+
},
23+
"Microsoft.Framework.NotNullAttribute.Sources": {
24+
"type": "build",
25+
"version": "1.0.0-beta7"
26+
}
1827
},
19-
"Microsoft.Framework.CopyOnWriteDictionary.Sources": {
20-
"type": "build",
21-
"version": "1.0.0-*"
22-
},
23-
"Microsoft.Framework.NotNullAttribute.Sources": {
24-
"type": "build",
25-
"version": "1.0.0-*"
26-
}
27-
},
28-
"frameworks": {
29-
"net45": {
30-
"frameworkAssemblies": {
31-
"System.Xml": "4.0.0.0",
32-
"System.Xml.Linq": "4.0.0.0"
33-
}
34-
},
35-
"dnx451": {
36-
"frameworkAssemblies": {
37-
"System.Xml": "4.0.0.0",
38-
"System.Xml.Linq": "4.0.0.0"
39-
}
40-
},
41-
"dnxcore50": {
42-
"dependencies": {
43-
"System.Reflection.Extensions": "4.0.1-beta-*",
44-
"System.Text.RegularExpressions": "4.0.11-beta-*"
45-
}
28+
"frameworks": {
29+
"net45": {
30+
"frameworkAssemblies": {
31+
"System.Xml": "4.0.0.0",
32+
"System.Xml.Linq": "4.0.0.0"
33+
}
34+
},
35+
"dnx451": {
36+
"frameworkAssemblies": {
37+
"System.Xml": "4.0.0.0",
38+
"System.Xml.Linq": "4.0.0.0"
39+
}
40+
},
41+
"dnxcore50": {
42+
"dependencies": {
43+
"System.Reflection.Extensions": "4.0.1-beta-23225",
44+
"System.Text.RegularExpressions": "4.0.11-beta-23225"
45+
}
46+
}
4647
}
47-
}
48-
}
48+
}

0 commit comments

Comments
 (0)