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 Sep 2, 2015
1 parent 15eb44c commit d572201
Show file tree
Hide file tree
Showing 94 changed files with 60,943 additions and 472 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
Expand Up @@ -3,10 +3,10 @@
"dependencies": {
"LibraryAlpha": "1.0.0-*"
},
"commands": {
"run" : "run"
"commands": {
"run": "run"
},
"frameworks" : {
"dnx451" : { }
"frameworks": {
"dnx451": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
"dependencies": {
"LibraryBeta": "1.0.0-*"
},

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

"frameworks" : {
}
}
"dependencies": {},
"frameworks": {}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
{
"version": "1.0.0-*",
"dependencies": {
"Net40Lib": ""
},
"commands": {
"run": "run"
},
"frameworks" : {
"dnx451" : { }
"frameworks": {
"dnx451": {}
}
}
}
9 changes: 4 additions & 5 deletions misc/LockFileTestProjects/src/Net40Lib/project.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
{
"version": "1.0.0-*",
"dependencies": {
"Newtonsoft.Json": "6.0.6"
},

"frameworks" : {
"net40": { }
"frameworks": {
"net40": {}
}
}
}
15 changes: 6 additions & 9 deletions misc/ResourcesTestProjects/testproject/project.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{
"version": "1.0.0-*",
"dependencies": {
},

"dependencies": {},
"frameworks": {
"dnx451": {
"dependencies": {
}
"dependencies": {}
},
"dnxcore50": {
"dependencies": {
"System.Runtime": "4.0.21-beta-*",
"System.Reflection": "4.0.0",
"System.Console": "4.0.0-beta-*"
"System.Runtime": "4.0.21-beta-23225",
"System.Reflection": "4.1.0-beta-23225",
"System.Console": "4.0.0-beta-23225"
}
}
},
Expand All @@ -24,4 +21,4 @@
"../someresources/*.resx",
"../someresources/*.txt"
]
}
}
9 changes: 4 additions & 5 deletions misc/ServicingTestProjects/ServiceableLib1/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
{
"version": "1.0.0",

"frameworks" : {
"dnx451" : {}
"frameworks": {
"dnx451": {}
}
}
}
9 changes: 4 additions & 5 deletions misc/ServicingTestProjects/UnserviceableLib1/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
{
"version": "1.0.0",

"frameworks" : {
"dnx451" : {}
"frameworks": {
"dnx451": {}
}
}
}
9 changes: 4 additions & 5 deletions misc/ServicingTestProjects/UnserviceableLib2/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
{
"version": "1.0.0",

"frameworks" : {
"dnx451" : {}
"frameworks": {
"dnx451": {}
}
}
}
5 changes: 2 additions & 3 deletions misc/XreTestApps/AllTheDnxes/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"dependencies": {
},
"dependencies": {},
"frameworks": {
"dnx46": {},
"dnx452": {},
"dnx451": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/BareApp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"dnx451": {},
"dnxcore50": {}
}
}
}
4 changes: 2 additions & 2 deletions misc/XreTestApps/CommandsProject/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"dnx451": {},
"dnxcore50": {
"dependencies": {
"System.Console": "4.0.0-beta-22816"
"System.Console": "4.0.0-beta-23225"
}
}
}
}
}
5 changes: 2 additions & 3 deletions misc/XreTestApps/Dnx451/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"dependencies": {
},
"dependencies": {},
"frameworks": {
"dnx451": {}
}
}
}
5 changes: 2 additions & 3 deletions misc/XreTestApps/Dnx452/project.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"dependencies": {
},
"dependencies": {},
"frameworks": {
"dnx451": {},
"dnx452": {}
}
}
}
5 changes: 2 additions & 3 deletions misc/XreTestApps/Dnx46/project.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"dependencies": {
},
"dependencies": {},
"frameworks": {
"dnx46": {},
"dnx451": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/FrameworkReferences/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/NoDependencies/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"frameworks": {
"dnx451": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/SharedLibrary1/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"dnx451": {},
"dnxcore50": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/SharedLibrary2/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"dnx451": {},
"dnxcore50": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/SharedLibrary3/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"dnx451": {},
"dnxcore50": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/SharedSource/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"frameworks": {
"dnx451": {}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/UnresolvedDependency/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion misc/XreTestApps/UsesSharedSource/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"frameworks": {
"dnx451": {}
}
}
}
10 changes: 5 additions & 5 deletions samples/HelloShared/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"version": "0.1-beta-*",
"dependencies": { },
"dependencies": {},
"shared": "*.cs",
"frameworks": {
"dnx451": { },
"dnx451": {},
"dnxcore50": {
"dependencies": {
"System.Linq": "4.0.1-beta-*",
"System.Runtime": "4.0.21-beta-*"
"System.Linq": "4.0.1-beta-23225",
"System.Runtime": "4.0.21-beta-23225"
}
}
}
}
}
Loading

0 comments on commit d572201

Please sign in to comment.