Skip to content

Commit

Permalink
Updates for package building.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansjones committed Mar 9, 2015
1 parent 9894d53 commit 71aa651
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.csx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
14 changes: 12 additions & 2 deletions meta/Draft.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,26 @@
<title>Draft</title>
<version>@version@</version>
<authors>Jordan S. Jones</authors>
<licenseUrl>https://raw.githubusercontent.com/jordansjones/Draft/master/LICENSE.txt</licenseUrl>
<licenseUrl>https://raw.githubusercontent.com/jordansjones/Draft/fb4ed8ecb79556a94195b017e3ff9fb8cfa25d01/LICENSE.txt</licenseUrl>
<projectUrl>https://github.com/jordansjones/Draft</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>An etcd client library for .Net</description>
<releaseNotes>@releaseNotes@</releaseNotes>
<tags>etcd</tags>
<copyright>Copyright 2015 Jordan S. Jones</copyright>
<dependencies>
<group targetFramework="net45">
<dependency id="Flurl" version="1.0.6" />
<dependency id="Flurl.Http" version="0.5.0" />
<dependency id="Newtonsoft.Json" version="6.0.8" />
<dependency id="Rx-Core" version="2.2.5" />
<dependency id="Rx-Interfaces" version="2.2.5" />
<dependency id="Rx-Linq" version="2.2.5" />
</group>
</dependencies>
</metadata>
<files>
<file src="lib\net45\Draft.*" target="lib\net45" />
<file src="*.*" exclude="lib\**\*.*" />
</files>
</package>
</package>
5 changes: 3 additions & 2 deletions tests/Draft.Tests/Draft-Net45.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Ploeh.AutoFixture">
<HintPath>..\..\packages\AutoFixture.3.24.1\lib\net40\Ploeh.AutoFixture.dll</HintPath>
<Reference Include="Ploeh.AutoFixture, Version=3.24.2.0, Culture=neutral, PublicKeyToken=b24654c590009d4f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\AutoFixture.3.24.2\lib\net40\Ploeh.AutoFixture.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Net.Http" />
Expand Down
2 changes: 1 addition & 1 deletion tests/Draft.Tests/packages.Draft-Net45.Tests.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AutoFixture" version="3.24.1" targetFramework="net45" />
<package id="AutoFixture" version="3.24.2" targetFramework="net45" />
<package id="FluentAssertions" version="3.3.0" targetFramework="net45" />
<package id="Flurl" version="1.0.6" targetFramework="net45" />
<package id="Flurl.Http" version="0.5.0" targetFramework="net45" />
Expand Down

0 comments on commit 71aa651

Please sign in to comment.