Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
Updating json files to pin versions and build.cmd to pin KoreBuild an…
Browse files Browse the repository at this point in the history
…d DNX
  • Loading branch information
pranavkm committed Jul 10, 2015
1 parent 50dfcd0 commit 83f9259
Show file tree
Hide file tree
Showing 77 changed files with 40,963 additions and 264 deletions.
20 changes: 12 additions & 8 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,21 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul

:restore
IF EXIST packages\KoreBuild goto run
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
IF DEFINED BUILDCMD_RELEASE (
.nuget\NuGet.exe install KoreBuild -version 0.2.1-%BUILDCMD_RELEASE% -ExcludeVersion -o packages -nocache -pre
) ELSE (
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
)
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion

IF "%1" == "rebuild-package" goto run

IF "%SKIP_DNX_INSTALL%"=="1" (
REM On the CI, don't upgrade since the previous installed DNVM is already there.
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
IF "%SKIP_DNX_INSTALL%"=="1" goto run
IF DEFINED BUILDCMD_RELEASE (
CALL packages\KoreBuild\build\dnvm install 1.0.0-%BUILDCMD_RELEASE% -runtime CLR -arch x86 -a default
) ELSE (
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
)
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86

:run
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.0.0-*",
"version": "1.0.0-beta5",
"dependencies": {
"LibraryAlpha": "1.0.0-*"
"LibraryAlpha": "1.0.0-beta5"
},
"commands": {
"run" : "run"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.0.0-*",
"version": "1.0.0-beta5",
"dependencies": {
"LibraryBeta": "1.0.0-*"
"LibraryBeta": "1.0.0-beta5"
},

"frameworks" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-*",
"version": "1.0.0-beta5",
"dependencies": {
},

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-*",
{
"version": "1.0.0-beta5",
"dependencies": {
"Net40Lib": ""
},
Expand Down
4 changes: 2 additions & 2 deletions misc/LockFileTestProjects/src/Net40Lib/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-*",
{
"version": "1.0.0-beta5",
"dependencies": {
"Newtonsoft.Json": "6.0.6"
},
Expand Down
10 changes: 5 additions & 5 deletions misc/ResourcesTestProjects/testproject/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-*",
{
"version": "1.0.0-beta5",
"dependencies": {
},

Expand All @@ -10,9 +10,9 @@
},
"dnxcore50": {
"dependencies": {
"System.Runtime": "4.0.20-beta-*",
"System.Reflection": "4.0.0-beta-*",
"System.Console": "4.0.0-beta-*"
"System.Runtime": "4.0.20-beta-23019",
"System.Reflection": "4.0.0-beta-23019",
"System.Console": "4.0.0-beta-23019"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion misc/ServicingTestProjects/ServiceableLib1/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"version": "1.0.0",

"frameworks" : {
Expand Down
2 changes: 1 addition & 1 deletion misc/ServicingTestProjects/UnserviceableLib1/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"version": "1.0.0",

"frameworks" : {
Expand Down
2 changes: 1 addition & 1 deletion misc/ServicingTestProjects/UnserviceableLib2/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"version": "1.0.0",

"frameworks" : {
Expand Down
2 changes: 1 addition & 1 deletion misc/XreTestApps/DependentProject/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"dnx451": {},
"dnxcore50": {}
}
}
}
6 changes: 3 additions & 3 deletions samples/HelloShared/project.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1-beta-*",
"version": "0.1-beta-beta5",
"dependencies": { },
"shared": "*.cs",
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.Linq": "4.0.0-beta-*",
"System.Runtime": "4.0.20-beta-*"
"System.Linq": "4.0.0-beta-23019",
"System.Runtime": "4.0.20-beta-23019"
}
}
}
Expand Down
Loading

0 comments on commit 83f9259

Please sign in to comment.