Skip to content

Commit

Permalink
Create new nunit.runners package. Fixes nunit#1030.
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Nov 17, 2015
1 parent 665dddb commit 566fe5e
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
11 changes: 11 additions & 0 deletions NUnit.proj
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,17 @@

</Target>

<Target Name="PackageNuGetRunners" Label="Creates the NUnit.Runners NuGet package"
DependsOnTargets="_CreateImageIfNotPresent">
<Message Text="******************************************************************" />
<Message Text="* Creating the NUnit.Runners Nuget $(Configuration) package" />
<Message Text="******************************************************************" />

<Exec WorkingDirectory="$(ProjectBaseDir)"
Command="$(ManagedExeLauncher) &quot;$(NugetExecutable)&quot; pack $(NuspecDirectory)\nunit.runners.nuspec -NoPackageAnalysis -BasePath &quot;$(CurrentImageDir)&quot; -OutputDirectory &quot;$(ProjectPackageDir)&quot; -Properties version=$(NugetVersion)" />

</Target>

<Target Name="PackageNugetEngine" Label="Creates the NUnit.Engine NuGet package"
DependsOnTargets="_CreateImageIfNotPresent">
<Message Text="******************************************************************" />
Expand Down
6 changes: 4 additions & 2 deletions nuget/nunit.console.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
<iconUrl>http://nunit.org/nuget/nunitv3_32x32.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Console runner for version 3.0 of the NUnit unit-testing framework.</summary>
<description>This package includes the nunit3-console runner and test engine for version 3.0 of the NUnit unit-testing framework. The runner will run 2.6 tests using a plugin.&#10;&#13;This is an beta release, but is ready for production use for people with prior NUnit experience.</description>
<releaseNotes>This is an beta release, but is ready for production use for people with prior NUnit experience.</releaseNotes>
<description>This package includes the nunit3-console runner and test engine for version 3.0 of the NUnit unit-testing framework.

The runner will run 2.6 tests using the included plugin.</description>
<releaseNotes></releaseNotes>
<language>en-US</language>
<tags>nunit test testing tdd runner</tags>
<copyright>Copyright (c) 2015 Charlie Poole</copyright>
Expand Down
30 changes: 30 additions & 0 deletions nuget/nunit.runners.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>NUnit.Runners</id>
<title>NUnit Console Version 3</title>
<version>$version$</version>
<authors>Charlie Poole</authors>
<owners>Charlie Poole</owners>
<licenseUrl>http://nunit.org/nuget/nunit3-license.txt</licenseUrl>
<projectUrl>http://nunit.org</projectUrl>
<iconUrl>http://nunit.org/nuget/nunitv3_32x32.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Console runner for version 3.0 of the NUnit unit-testing framework.</summary>
<description>This package is now a reference to the NUnit.Console package, which provides the nunit3-console runner and test engine for version 3.0 of the NUnit unit-testing framework.

The runner will run 2.6 tests using the included plugin.

Users may update their projects to use the NUnit.Console package directly if desired.</description>
<releaseNotes>This package no longer contains the gui and pnunit runners, which were in earlier releases. Those runners do not exist for NUnit 3.0 at this time.</releaseNotes>
<language>en-US</language>
<tags>nunit test testing tdd runner</tags>
<copyright>Copyright (c) 2015 Charlie Poole</copyright>
<dependencies>
<group>
<dependency id="NUnit.Console" version="[$version$]" />
</group>
</dependencies>
</metadata>
<files></files>
</package>

0 comments on commit 566fe5e

Please sign in to comment.