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

Commit 0584891

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 3c4977d commit 0584891

File tree

173 files changed

+444463
-1150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+444463
-1150
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
Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,30 @@
1-
{
1+
{
22
"webroot": "wwwroot",
33
"version": "1.0.0-*",
4-
54
"dependencies": {
6-
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
7-
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
8-
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
9-
"Microsoft.AspNet.Hosting": "1.0.0-*",
10-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
5+
"Microsoft.AspNet.Mvc.Core": "6.0.0-beta6",
6+
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-beta6",
7+
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-beta6",
8+
"Microsoft.AspNet.Hosting": "1.0.0-beta6",
9+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6"
1110
},
12-
13-
"commands": {
14-
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000"
15-
},
16-
17-
"frameworks": {
18-
"dnx451": { },
19-
"dnxcore50": { }
20-
},
21-
22-
"publishExclude": [
23-
"node_modules",
24-
"bower_components",
25-
"**.xproj",
26-
"**.user",
27-
"**.vspscc"
28-
],
29-
"exclude": [
30-
"wwwroot",
31-
"node_modules",
32-
"bower_components"
33-
]
34-
}
11+
"commands": {
12+
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000"
13+
},
14+
"frameworks": {
15+
"dnx451": {},
16+
"dnxcore50": {}
17+
},
18+
"publishExclude": [
19+
"node_modules",
20+
"bower_components",
21+
"**.xproj",
22+
"**.user",
23+
"**.vspscc"
24+
],
25+
"exclude": [
26+
"wwwroot",
27+
"node_modules",
28+
"bower_components"
29+
]
30+
}

0 commit comments

Comments
 (0)