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

Commit 5766f61

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 5b87811 commit 5766f61

File tree

11 files changed

+5585
-61
lines changed

11 files changed

+5585
-61
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: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
{
2-
"version": "1.0.0-*",
2+
"version": "1.0.0-beta6",
33
"description": "Contracts for dependency injection.",
44
"repository": {
55
"type": "git",
66
"url": "git://github.com/aspnet/dependencyinjection"
77
},
88
"dependencies": {
9-
"Microsoft.Framework.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
9+
"Microsoft.Framework.NotNullAttribute.Sources": {
10+
"version": "1.0.0-beta6",
11+
"type": "build"
12+
}
1013
},
1114
"frameworks": {
12-
"net45": {
13-
},
14-
"dnx451": { },
15+
"net45": {},
16+
"dnx451": {},
1517
"dotnet": {
1618
"dependencies": {
17-
"System.ComponentModel": "4.0.0-beta-*",
18-
"System.Diagnostics.Debug": "4.0.10-beta-*",
19-
"System.Globalization": "4.0.10-beta-*",
20-
"System.Linq": "4.0.0-beta-*",
21-
"System.Linq.Expressions": "4.0.10-beta-*",
22-
"System.Reflection": "4.0.10-beta-*",
23-
"System.Resources.ResourceManager": "4.0.0-beta-*"
19+
"System.ComponentModel": "4.0.0-beta-23109",
20+
"System.Diagnostics.Debug": "4.0.10-beta-23109",
21+
"System.Globalization": "4.0.10-beta-23109",
22+
"System.Linq": "4.0.0-beta-23109",
23+
"System.Linq.Expressions": "4.0.10-beta-23109",
24+
"System.Reflection": "4.0.10-beta-23109",
25+
"System.Resources.ResourceManager": "4.0.0-beta-23109"
2426
}
2527
}
2628
}
27-
}
29+
}

0 commit comments

Comments
 (0)