Commit 84a7d646 authored by Nick Craver's avatar Nick Craver

RC2 master merge

parents ee615c0c e894e7e2
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "The official collection of get, insert, update and delete helpers for dapper.net. Also handles lists of entities and optional \"dirty\" tracking of interface-based entities.", "description": "The official collection of get, insert, update and delete helpers for dapper.net. Also handles lists of entities and optional \"dirty\" tracking of interface-based entities.",
"version": "1.50-beta10", "version": "1.50-beta10",
"title": "Dapper.Contrib", "title": "Dapper.Contrib",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
"Dapper": { "Dapper": {
"version": "1.50-*", "version": "1.50-*",
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "Extension handlers for entity framework", "description": "Extension handlers for entity framework",
"version": "1.50-beta10", "version": "1.50-beta10",
"title": "Dapper entity framework type handlers (with a strong name)", "title": "Dapper entity framework type handlers (with a strong name)",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
"Dapper.StrongName": { "Dapper.StrongName": {
"version": "1.50-*", "version": "1.50-*",
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "Extension handlers for entity framework", "description": "Extension handlers for entity framework",
"version": "1.50-beta10", "version": "1.50-beta10",
"title": "Dapper entity framework type handlers", "title": "Dapper entity framework type handlers",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
"Dapper": { "Dapper": {
"version": "1.50-*", "version": "1.50-*",
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "The Dapper SqlBuilder component, for building SQL queries dynamically.", "description": "The Dapper SqlBuilder component, for building SQL queries dynamically.",
"version": "1.50-beta10", "version": "1.50-beta10",
"title": "Dapper SqlBuilder component", "title": "Dapper SqlBuilder component",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
"Dapper": { "Dapper": {
"version": "1.50-*", "version": "1.50-*",
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"description": "A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc..", "description": "A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc..",
"version": "1.50-beta10", "version": "1.50-beta10",
"title": "Dapper dot net (strong named)", "title": "Dapper dot net (strong named)",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
}, },
"buildOptions": { "buildOptions": {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "Dapper Contrib Test Suite", "description": "Dapper Contrib Test Suite",
"title": "Dapper.Tests.Contrib", "title": "Dapper.Tests.Contrib",
"version": "1.0.0", "version": "1.0.0",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
"Dapper": { "Dapper": {
"version": "1.50-*", "version": "1.50-*",
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "Dapper Core Test Suite", "description": "Dapper Core Test Suite",
"title": "Dapper.Tests", "title": "Dapper.Tests",
"version": "1.0.0-*", "version": "1.0.0-*",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
"Dapper": { "Dapper": {
"version": "1.50-*", "version": "1.50-*",
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"authors": [ "Sam Saffron", "Marc Gravell", "Nick Craver" ], "authors": [ "Sam Saffron", "Marc Gravell", "Nick Craver" ],
"description": "A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc..", "description": "A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc..",
"title": "Dapper dot net", "title": "Dapper dot net",
"copyright": "2015 Stack Exchange, Inc.", "copyright": "2016 Stack Exchange, Inc.",
"dependencies": { "dependencies": {
}, },
"buildOptions": { "buildOptions": {
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
<!-- <!--
<add key="CoreCLR" value="https://www.myget.org/F/dotnet-coreclr/api/v3/index.json" /> <add key="CoreCLR" value="https://www.myget.org/F/dotnet-coreclr/api/v3/index.json" />
--> -->
<add key="myget.org dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" /> <!--<add key="myget.org dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" /> -->
<add key="aspnetcirelease" value="https://www.myget.org/F/aspnetcirelease/api/v3/index.json" /> <!--<add key="aspnetcirelease" value="https://www.myget.org/F/aspnetcirelease/api/v3/index.json" /> -->
<add key="coreclr-xunit" value="https://www.myget.org/F/coreclr-xunit/api/v3/index.json" /> <!--<add key="coreclr-xunit" value="https://www.myget.org/F/coreclr-xunit/api/v3/index.json" />-->
<add key="NuGet" value="https://api.nuget.org/v3/index.json" /> <add key="NuGet" value="https://api.nuget.org/v3/index.json" />
</packageSources> </packageSources>
</configuration> </configuration>
...@@ -10,6 +10,7 @@ if (!(Test-Path $env:DOTNET_INSTALL_DIR)) ...@@ -10,6 +10,7 @@ if (!(Test-Path $env:DOTNET_INSTALL_DIR))
& $getDotNet & $getDotNet
$env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH" $env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
$dotnet = "$env:DOTNET_INSTALL_DIR\dotnet"
$autoGeneratedVersion = $false $autoGeneratedVersion = $false
...@@ -30,28 +31,28 @@ foreach { ...@@ -30,28 +31,28 @@ foreach {
} }
# Restore packages and build product # Restore packages and build product
& dotnet restore -v Minimal # Restore all packages & $dotnet restore -v Minimal # Restore all packages
if ($LASTEXITCODE -ne 0) if ($LASTEXITCODE -ne 0)
{ {
throw "dotnet restore failed with exit code $LASTEXITCODE" throw "dotnet restore failed with exit code $LASTEXITCODE"
} }
& dotnet pack "Dapper" --configuration Release --output "artifacts\packages" & $dotnet pack "Dapper" --configuration Release --output "artifacts\packages"
& dotnet pack "Dapper.Contrib" --configuration Release --output "artifacts\packages" & $dotnet pack "Dapper.Contrib" --configuration Release --output "artifacts\packages"
# Build all # Build all
# Note the exclude: https://github.com/dotnet/cli/issues/1342 # Note the exclude: https://github.com/dotnet/cli/issues/1342
dir "Dapper*" | where {$_.PsIsContainer -and $_ -NotLike "*.EntityFramework.StrongName" } | dir "Dapper*" | where {$_.PsIsContainer -and $_ -NotLike "*.EntityFramework.StrongName" } |
foreach { foreach {
pushd "$_" pushd "$_"
& dotnet build & $dotnet build
popd popd
} }
# Run tests # Run tests
dir "*.Tests*" | where {$_.PsIsContainer} | dir "*.Tests*" | where {$_.PsIsContainer} |
foreach { foreach {
pushd "$_" pushd "$_"
& dotnet test & $dotnet test
popd popd
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment