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

Commit d1f83d8

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 91b0516 commit d1f83d8

File tree

5 files changed

+1912
-45
lines changed

5 files changed

+1912
-45
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: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
11
{
2-
"version": "1.0.0-*",
3-
"dependencies": {
4-
"Microsoft.Framework.Configuration.Abstractions": "1.0.0-*",
5-
"Microsoft.Framework.Configuration.Binder": "1.0.0-*",
6-
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*",
7-
"Microsoft.Framework.NotNullAttribute.Sources": { "type": "build", "version": "1.0.0-*" }
8-
},
9-
"repository": {
10-
"type": "git",
11-
"url": "https://github.com/aspnet/options"
12-
},
13-
"frameworks": {
14-
"net45": { },
15-
"dnx451": { },
16-
"dotnet": {
17-
"dependencies": {
18-
"System.ComponentModel": "4.0.0-*",
19-
"System.Diagnostics.Debug": "4.0.10-*",
20-
"System.Globalization": "4.0.10-*",
21-
"System.Linq": "4.0.0-*",
22-
"System.Linq.Expressions": "4.0.10-*",
23-
"System.Reflection": "4.0.10-*",
24-
"System.Reflection.TypeExtensions": "4.0.0-beta-*",
25-
"System.Resources.ResourceManager": "4.0.0-*",
26-
"System.Runtime": "4.0.20-*",
27-
"System.Runtime.Extensions": "4.0.10-beta-*",
28-
"System.Threading": "4.0.10-beta-*"
29-
}
2+
"version": "1.0.0-beta6",
3+
"dependencies": {
4+
"Microsoft.Framework.Configuration.Abstractions": "1.0.0-beta6",
5+
"Microsoft.Framework.Configuration.Binder": "1.0.0-beta6",
6+
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-beta6",
7+
"Microsoft.Framework.NotNullAttribute.Sources": {
8+
"type": "build",
9+
"version": "1.0.0-beta6"
10+
}
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/aspnet/options"
15+
},
16+
"frameworks": {
17+
"net45": {},
18+
"dnx451": {},
19+
"dotnet": {
20+
"dependencies": {
21+
"System.ComponentModel": "4.0.0-beta-23109",
22+
"System.Diagnostics.Debug": "4.0.10-beta-23109",
23+
"System.Globalization": "4.0.10-beta-23109",
24+
"System.Linq": "4.0.0-beta-23109",
25+
"System.Linq.Expressions": "4.0.10-beta-23109",
26+
"System.Reflection": "4.0.10-beta-23109",
27+
"System.Reflection.TypeExtensions": "4.0.0-beta-23109",
28+
"System.Resources.ResourceManager": "4.0.0-beta-23109",
29+
"System.Runtime": "4.0.20-beta-23109",
30+
"System.Runtime.Extensions": "4.0.10-beta-23109",
31+
"System.Threading": "4.0.10-beta-23109"
32+
}
33+
}
3034
}
31-
}
32-
}
35+
}

0 commit comments

Comments
 (0)