Skip to content

Commit

Permalink
Add NUKE tab for dotnet tools (#8578)
Browse files Browse the repository at this point in the history
Implements NuGet/Home#10782
  • Loading branch information
matkoch committed May 14, 2021
1 parent 3685253 commit 066ab58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/NuGetGallery/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@
Id = "cake-dotnet-tool",
InstallPackageCommands = new [] { Model.GetCakeInstallPackageCommand() },
},

new ThirdPartyPackageManagerViewModel("NUKE", "https://github.com/nuke-build/nuke/issues/new/choose")
{
Id = "nuke",
CommandPrefix = "> ",
InstallPackageCommands = new [] { string.Format("nuke :add-package {0} --version {1}", Model.Id, Model.Version) },
},
};
}
else if (Model.IsDotnetNewTemplatePackageType)
Expand Down

0 comments on commit 066ab58

Please sign in to comment.