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

Commit f2224e7

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 279eaf5 commit f2224e7

File tree

15 files changed

+4057
-49
lines changed

15 files changed

+4057
-49
lines changed

build.cmd

+10-2
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/SampleApp/project.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"dependencies": {
3-
"Microsoft.Framework.Logging": "1.0.0-*",
4-
"Microsoft.Framework.Logging.Console": "1.0.0-*"
3+
"Microsoft.Framework.Logging": "1.0.0-beta5",
4+
"Microsoft.Framework.Logging.Console": "1.0.0-beta5"
55
},
66
"frameworks": {
77
"dnx451": {
88
"dependencies": {
9-
"Microsoft.Framework.Logging.NLog": "1.0.0-*"
9+
"Microsoft.Framework.Logging.NLog": "1.0.0-beta5"
1010
}
1111
},
1212
"dnxcore50": {
1313
"dependencies": {
14-
"System.Console": "4.0.0-beta-*"
14+
"System.Console": "4.0.0-beta-23019"
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)