From 71aa651fdfa0cc0212c49432d13c019d4e2e12c6 Mon Sep 17 00:00:00 2001 From: "Jordan S. Jones" Date: Mon, 9 Mar 2015 14:13:07 -0600 Subject: [PATCH] Updates for package building. --- build.csx | 4 ++-- build.ps1 | 2 +- meta/Draft.nuspec | 14 ++++++++++++-- tests/Draft.Tests/Draft-Net45.Tests.csproj | 5 +++-- .../Draft.Tests/packages.Draft-Net45.Tests.config | 2 +- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/build.csx b/build.csx index fe8cfe7..c4794f8 100644 --- a/build.csx +++ b/build.csx @@ -131,9 +131,9 @@ Task("UnitTests") { Information("Running Tests in {0}", solution); - XUnit2( + XUnit( solutionDir + "/**/bin/" + configuration + "/**/*.Tests*.dll", - new XUnit2Settings { + new XUnitSettings { OutputDirectory = testResultsDir, HtmlReport = true, XmlReport = true diff --git a/build.ps1 b/build.ps1 index bda15d0..6111310 100644 --- a/build.ps1 +++ b/build.ps1 @@ -17,7 +17,7 @@ if (!(Test-Path $NUGET_EXE)) { Throw "Could not find " + $NUGET_EXE } -Invoke-Expression "$NUGET_EXE install xunit.runners -OutputDirectory $TOOLS_DIR -ExcludeVersion -Prerelease" +Invoke-Expression "$NUGET_EXE install xunit.runners -Version 1.9.2 -OutputDirectory $TOOLS_DIR -ExcludeVersion -Prerelease" if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } diff --git a/meta/Draft.nuspec b/meta/Draft.nuspec index b6694f4..fad1d50 100644 --- a/meta/Draft.nuspec +++ b/meta/Draft.nuspec @@ -5,16 +5,26 @@ Draft @version@ Jordan S. Jones - https://raw.githubusercontent.com/jordansjones/Draft/master/LICENSE.txt + https://raw.githubusercontent.com/jordansjones/Draft/fb4ed8ecb79556a94195b017e3ff9fb8cfa25d01/LICENSE.txt https://github.com/jordansjones/Draft false An etcd client library for .Net @releaseNotes@ etcd Copyright 2015 Jordan S. Jones + + + + + + + + + + - \ No newline at end of file + diff --git a/tests/Draft.Tests/Draft-Net45.Tests.csproj b/tests/Draft.Tests/Draft-Net45.Tests.csproj index 197bd60..b291012 100644 --- a/tests/Draft.Tests/Draft-Net45.Tests.csproj +++ b/tests/Draft.Tests/Draft-Net45.Tests.csproj @@ -52,8 +52,9 @@ False ..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll - - ..\..\packages\AutoFixture.3.24.1\lib\net40\Ploeh.AutoFixture.dll + + False + ..\..\packages\AutoFixture.3.24.2\lib\net40\Ploeh.AutoFixture.dll diff --git a/tests/Draft.Tests/packages.Draft-Net45.Tests.config b/tests/Draft.Tests/packages.Draft-Net45.Tests.config index 8627090..fc67822 100644 --- a/tests/Draft.Tests/packages.Draft-Net45.Tests.config +++ b/tests/Draft.Tests/packages.Draft-Net45.Tests.config @@ -1,6 +1,6 @@  - +