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

Commit 96a17ab

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 9b4f2e7 commit 96a17ab

File tree

33 files changed

+55796
-132
lines changed

33 files changed

+55796
-132
lines changed

build.cmd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1616

1717
:restore
1818
IF EXIST packages\KoreBuild goto run
19-
.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
21+
) ELSE (
22+
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
23+
)
2024
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
2125

2226
IF "%SKIP_DNX_INSTALL%"=="1" goto run
23-
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
29+
) ELSE (
30+
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
31+
)
2432
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86
2533

2634
:run

samples/CookieSample/project.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
{
22
"dependencies": {
3-
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
4-
"Microsoft.AspNet.DataProtection": "1.0.0-*",
5-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
6-
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
7-
"Microsoft.Framework.Logging.Console": "1.0.0-*",
8-
"Kestrel": "1.0.0-*"
3+
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta6",
4+
"Microsoft.AspNet.DataProtection": "1.0.0-beta6",
5+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6",
6+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta6",
7+
"Microsoft.Framework.Logging.Console": "1.0.0-beta6",
8+
"Kestrel": "1.0.0-beta6"
99
},
1010
"commands": {
1111
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",
1212
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
1313
},
1414
"frameworks": {
15-
"dnx451": {
16-
},
17-
"dnxcore50": {
18-
}
15+
"dnx451": {},
16+
"dnxcore50": {}
1917
},
20-
"webroot":"wwwroot"
21-
}
18+
"webroot": "wwwroot"
19+
}

0 commit comments

Comments
 (0)