Skip to content

Commit ddc90da

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 987d314 commit ddc90da

File tree

63 files changed

+136545
-740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+136545
-740
lines changed

build.cmd

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ cd %~dp0
33

44
SETLOCAL
55
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
6-
SET BUILDCMD_KOREBUILD_VERSION=""
7-
SET BUILDCMD_DNX_VERSION=""
86

97
IF EXIST %CACHED_NUGET% goto copynuget
108
echo Downloading latest version of NuGet.exe...
@@ -18,21 +16,21 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1816

1917
:restore
2018
IF EXIST packages\KoreBuild goto run
21-
IF %BUILDCMD_KOREBUILD_VERSION%=="" (
22-
.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
2321
) ELSE (
24-
.nuget\NuGet.exe install KoreBuild -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre
22+
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
2523
)
2624
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
2725

2826
IF "%SKIP_DNX_INSTALL%"=="1" goto run
29-
IF %BUILDCMD_DNX_VERSION%=="" (
30-
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
3129
) ELSE (
32-
CALL packages\KoreBuild\build\dnvm install %BUILDCMD_DNX_VERSION% -runtime CLR -arch x86 -a default
30+
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
3331
)
3432
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86
3533

3634
:run
3735
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
38-
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
36+
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
Lines changed: 54 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,59 @@
11
{
2-
"version": "7.0.0-*",
3-
"description": "Command line utilities for Entity Framework.",
4-
"repository": {
5-
"type": "git",
6-
"url": "git://github.com/aspnet/entityframework"
7-
},
8-
"compilationOptions": {
9-
"warningsAsErrors": true
10-
},
11-
"compile": "..\\Shared\\*.cs",
12-
"exclude": "tools\\Handlers.cs",
13-
"namedResource": {
14-
"EntityFramework.Commands.Strings": "Properties/Strings.resx"
15-
},
16-
"dependencies": {
17-
"EntityFramework.Relational": "7.0.0-*",
18-
"Microsoft.CodeAnalysis.CSharp": "1.1.0-beta1-*"
19-
},
20-
"frameworks": {
21-
"net45": {
22-
"dependencies": {
23-
"EntityFramework.Relational.Design": "7.0.0-*"
24-
}
2+
"version": "7.0.0-beta7",
3+
"description": "Command line utilities for Entity Framework.",
4+
"repository": {
5+
"type": "git",
6+
"url": "git://github.com/aspnet/entityframework"
257
},
26-
"dnx451": {
27-
"dependencies": {
28-
"EntityFramework.Relational.Design": "7.0.0-*",
29-
"Microsoft.AspNet.Hosting": "1.0.0-*",
30-
"Microsoft.Framework.CommandLineUtils.Sources": { "version": "1.0.0-*", "type": "build" },
31-
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*",
32-
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
33-
}
8+
"compilationOptions": {
9+
"warningsAsErrors": true
3410
},
35-
"dnxcore50": {
36-
"dependencies": {
37-
"EntityFramework.Relational.Design": "7.0.0-*",
38-
"Microsoft.AspNet.Hosting": "1.0.0-*",
39-
"Microsoft.Framework.CommandLineUtils.Sources": { "version": "1.0.0-*", "type": "build" },
40-
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*",
41-
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
42-
}
11+
"compile": "..\\Shared\\*.cs",
12+
"exclude": "tools\\Handlers.cs",
13+
"namedResource": {
14+
"EntityFramework.Commands.Strings": "Properties/Strings.resx"
4315
},
44-
"netcore50": {
45-
"bin": {
46-
"assembly": "lib\\netcore50\\_._"
47-
}
16+
"dependencies": {
17+
"EntityFramework.Relational": "7.0.0-beta7",
18+
"Microsoft.CodeAnalysis.CSharp": "1.1.0-beta1-20150812-01"
19+
},
20+
"frameworks": {
21+
"net45": {
22+
"dependencies": {
23+
"EntityFramework.Relational.Design": "7.0.0-beta7"
24+
}
25+
},
26+
"dnx451": {
27+
"dependencies": {
28+
"EntityFramework.Relational.Design": "7.0.0-beta7",
29+
"Microsoft.AspNet.Hosting": "1.0.0-beta7",
30+
"Microsoft.Framework.CommandLineUtils.Sources": {
31+
"version": "1.0.0-beta7",
32+
"type": "build"
33+
},
34+
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-beta7",
35+
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta7"
36+
}
37+
},
38+
"dnxcore50": {
39+
"dependencies": {
40+
"EntityFramework.Relational.Design": "7.0.0-beta7",
41+
"Microsoft.AspNet.Hosting": "1.0.0-beta7",
42+
"Microsoft.Framework.CommandLineUtils.Sources": {
43+
"version": "1.0.0-beta7",
44+
"type": "build"
45+
},
46+
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-beta7",
47+
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta7"
48+
}
49+
},
50+
"netcore50": {
51+
"bin": {
52+
"assembly": "lib\\netcore50\\_._"
53+
}
54+
}
55+
},
56+
"commands": {
57+
"ef": "EntityFramework.Commands"
4858
}
49-
},
50-
"commands": {
51-
"ef": "EntityFramework.Commands"
52-
}
53-
}
59+
}

0 commit comments

Comments
 (0)