Skip to content

Commit

Permalink
Merge pull request nunit#1027 from nunit/issue-1011
Browse files Browse the repository at this point in the history
Add engine nuget package
  • Loading branch information
CharliePoole committed Nov 16, 2015
2 parents 604405e + 5fa5552 commit 665dddb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 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="PackageNugetEngine" Label="Creates the NUnit.Engine NuGet package"
DependsOnTargets="_CreateImageIfNotPresent">
<Message Text="******************************************************************" />
<Message Text="* Creating the NUnit.Engine Nuget $(Configuration) package" />
<Message Text="******************************************************************" />

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

</Target>

<Target Name="PackageMsi" Label="Creates the master MSI installer for NUnit"
DependsOnTargets="_CreateImageIfNotPresent">
<MSBuild Targets="Rebuild" Projects="$(InstallDir)\master\nunit.wixproj"
Expand Down
32 changes: 32 additions & 0 deletions nuget/nunit.engine.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>NUnit.Engine</id>
<title>NUnit Test Engine</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>The NUnit Test Engine is used by runners to discover and execute tests.</summary>
<description>This package includes nunit.engine and related assemblies, for use by runner programs. It is not intended for direct use by users who simply want to run tests.</description>
<releaseNotes></releaseNotes>
<language>en-US</language>
<tags>nunit test testing tdd engine</tags>
<copyright>Copyright (c) 2015 Charlie Poole</copyright>
</metadata>
<files>
<file src="LICENSE.txt" />
<file src="NOTICES.txt" />
<file src="CHANGES.txt" />
<file src="bin\nunit.engine.dll" target="lib" />
<file src="bin\nunit.engine.api.dll" target="lib" />
<file src="bin\Mono.Cecil.dll" target="lib" />
<file src="bin\nunit-agent.exe" target="lib" />
<file src="bin\nunit-agent.exe.config" target="lib" />
<file src="bin\nunit-agent-x86.exe" target="lib" />
<file src="bin\nunit-agent-x86.exe.config" target="lib" />
</files>
</package>

0 comments on commit 665dddb

Please sign in to comment.