Skip to content

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 987d314 commit ddc90da
Show file tree
Hide file tree
Showing 63 changed files with 136,545 additions and 740 deletions.
16 changes: 7 additions & 9 deletions build.cmd
Expand Up @@ -3,8 +3,6 @@ cd %~dp0

SETLOCAL
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
SET BUILDCMD_KOREBUILD_VERSION=""
SET BUILDCMD_DNX_VERSION=""

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

:restore
IF EXIST packages\KoreBuild goto run
IF %BUILDCMD_KOREBUILD_VERSION%=="" (
.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 -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
)
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion

IF "%SKIP_DNX_INSTALL%"=="1" goto run
IF %BUILDCMD_DNX_VERSION%=="" (
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
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 install %BUILDCMD_DNX_VERSION% -runtime CLR -arch x86 -a default
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
)
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86

:run
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
102 changes: 54 additions & 48 deletions src/EntityFramework.Commands/project.json
@@ -1,53 +1,59 @@
{
"version": "7.0.0-*",
"description": "Command line utilities for Entity Framework.",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/entityframework"
},
"compilationOptions": {
"warningsAsErrors": true
},
"compile": "..\\Shared\\*.cs",
"exclude": "tools\\Handlers.cs",
"namedResource": {
"EntityFramework.Commands.Strings": "Properties/Strings.resx"
},
"dependencies": {
"EntityFramework.Relational": "7.0.0-*",
"Microsoft.CodeAnalysis.CSharp": "1.1.0-beta1-*"
},
"frameworks": {
"net45": {
"dependencies": {
"EntityFramework.Relational.Design": "7.0.0-*"
}
"version": "7.0.0-beta7",
"description": "Command line utilities for Entity Framework.",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/entityframework"
},
"dnx451": {
"dependencies": {
"EntityFramework.Relational.Design": "7.0.0-*",
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.Framework.CommandLineUtils.Sources": { "version": "1.0.0-*", "type": "build" },
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*",
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
}
"compilationOptions": {
"warningsAsErrors": true
},
"dnxcore50": {
"dependencies": {
"EntityFramework.Relational.Design": "7.0.0-*",
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.Framework.CommandLineUtils.Sources": { "version": "1.0.0-*", "type": "build" },
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*",
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
}
"compile": "..\\Shared\\*.cs",
"exclude": "tools\\Handlers.cs",
"namedResource": {
"EntityFramework.Commands.Strings": "Properties/Strings.resx"
},
"netcore50": {
"bin": {
"assembly": "lib\\netcore50\\_._"
}
"dependencies": {
"EntityFramework.Relational": "7.0.0-beta7",
"Microsoft.CodeAnalysis.CSharp": "1.1.0-beta1-20150812-01"
},
"frameworks": {
"net45": {
"dependencies": {
"EntityFramework.Relational.Design": "7.0.0-beta7"
}
},
"dnx451": {
"dependencies": {
"EntityFramework.Relational.Design": "7.0.0-beta7",
"Microsoft.AspNet.Hosting": "1.0.0-beta7",
"Microsoft.Framework.CommandLineUtils.Sources": {
"version": "1.0.0-beta7",
"type": "build"
},
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-beta7",
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta7"
}
},
"dnxcore50": {
"dependencies": {
"EntityFramework.Relational.Design": "7.0.0-beta7",
"Microsoft.AspNet.Hosting": "1.0.0-beta7",
"Microsoft.Framework.CommandLineUtils.Sources": {
"version": "1.0.0-beta7",
"type": "build"
},
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-beta7",
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-beta7"
}
},
"netcore50": {
"bin": {
"assembly": "lib\\netcore50\\_._"
}
}
},
"commands": {
"ef": "EntityFramework.Commands"
}
},
"commands": {
"ef": "EntityFramework.Commands"
}
}
}

0 comments on commit ddc90da

Please sign in to comment.