Skip to content

Commit

Permalink
Remove duplicate package id
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Jul 17, 2024
1 parent d74da04 commit 14e0099
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
19 changes: 2 additions & 17 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ FilePath[] CONSOLE_FILES_NETCORE = {

PackageDefinition NUnitConsoleNuGetPackage;
PackageDefinition NUnitConsoleRunnerNuGetPackage;
PackageDefinition NUnitConsoleRunnerNet60Package;
PackageDefinition NUnitConsoleRunnerNet80Package;
PackageDefinition NUnitConsoleRunnerNetCorePackage;
PackageDefinition NUnitEnginePackage;
PackageDefinition NUnitEngineApiPackage;
PackageDefinition NUnitConsoleRunnerChocolateyPackage;
Expand Down Expand Up @@ -267,21 +266,7 @@ BuildSettings.Packages.AddRange(new PackageDefinition[] {
source: BuildSettings.NuGetDirectory + "runners/nunit.console-runner-with-extensions.nuspec",
checks: new PackageCheck[] { HasFile("LICENSE.txt") }),

NUnitConsoleRunnerNet80Package = new NuGetPackage(
id: "NUnit.ConsoleRunner.NetCore",
source: BuildSettings.NuGetDirectory + "runners/nunit.console-runner.netcore.nuspec",
checks: new PackageCheck[] {
HasFiles("LICENSE.txt", "NOTICES.txt"),
HasDirectory("tools/net8.0").WithFiles(CONSOLE_FILES_NETCORE).AndFiles(ENGINE_CORE_FILES).AndFile("nunit.console.nuget.addins")
},
symbols: new PackageCheck[] {
HasDirectory("tools/net8.0").WithFile("nunit3-console.pdb").AndFiles(ENGINE_PDB_FILES)
},
testRunner: new ConsoleRunnerSelfTester(BuildSettings.NuGetTestDirectory
+ $"NUnit.ConsoleRunner.NetCore.{BuildSettings.PackageVersion}/tools/net8.0/nunit3-console.exe"),
tests: NetCoreRunnerTests),

NUnitConsoleRunnerNet60Package = new NuGetPackage(
NUnitConsoleRunnerNetCorePackage = new NuGetPackage(
id: "NUnit.ConsoleRunner.NetCore",
source: BuildSettings.NuGetDirectory + "runners/nunit.console-runner.netcore.nuspec",
checks: new PackageCheck[] {
Expand Down
21 changes: 2 additions & 19 deletions nuget/runners/nunit.console-runner.netcore.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<files>
<file src="../../LICENSE.txt" />
<file src="../../NOTICES.txt" />

<file src="net6.0/nunit3-console.exe" target="tools/net6.0/" />
<file src="net6.0/nunit3-console.pdb" target="tools/net6.0/" />
<file src="net6.0/nunit3-console.dll" target="tools/net6.0/" />
Expand All @@ -43,25 +44,7 @@
<file src="net6.0/Microsoft.Extensions.DependencyModel.dll" target="tools/net6.0" />
<file src="../../nuget/runners/nunit.console.nuget.addins" target="tools/net6.0"/>
<file src="../../nuget/runners/DotnetToolSettings.xml" target="tools/net6.0"/>

<file src="net8.0/nunit3-console.exe" target="tools/net8.0" />
<file src="net8.0/nunit3-console.pdb" target="tools/net8.0" />
<file src="net8.0/nunit3-console.dll" target="tools/net8.0" />
<file src="net8.0/nunit3-console.dll.config" target="tools/net8.0" />
<file src="net8.0/nunit3-console.deps.json" target="tools/net8.0" />
<file src="net8.0/nunit3-console.runtimeconfig.json" target="tools/net8.0" />
<file src="net8.0/nunit.engine.core.dll" target="tools/net8.0" />
<file src="net8.0/nunit.engine.core.pdb" target="tools/net8.0" />
<file src="net8.0/nunit.engine.dll" target="tools/net8.0" />
<file src="net8.0/nunit.engine.pdb" target="tools/net8.0" />
<file src="net8.0/nunit.engine.api.dll" target="tools/net8.0" />
<file src="net8.0/nunit.engine.api.pdb" target="tools/net8.0" />
<file src="net8.0/nunit.engine.api.xml" target="tools/net8.0" />
<file src="net8.0/testcentric.engine.metadata.dll" target="tools/net8.0" />
<file src="net8.0/Microsoft.Extensions.DependencyModel.dll" target="tools/net8.0" />
<file src="../../nuget/runners/nunit.console.nuget.addins" target="tools/net8.0"/>
<file src="../../nuget/runners/DotnetToolSettings.xml" target="tools/net8.0"/>


<file src="../../nunit_256.png" target="images"/>
</files>
</package>

0 comments on commit 14e0099

Please sign in to comment.