Last active
September 1, 2017 22:58
-
-
Save loic-sharma/43ac56a07d59cea430fb658a5961cad5 to your computer and use it in GitHub Desktop.
Add Paket tab to NuGet Gallery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0c8eb16ecaeedf9ddfd1fc10944dbdef5bd094f0 Mon Sep 17 00:00:00 2001 | |
From: Loic Sharma <[email protected]> | |
Date: Fri, 1 Sep 2017 15:56:49 -0700 | |
Subject: [PATCH] Added tab for Paket | |
--- | |
src/NuGetGallery/Views/Packages/DisplayPackage.cshtml | 9 +++++++++ | |
1 file changed, 9 insertions(+) | |
diff --git a/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml b/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml | |
index 569e3f7d5..2eefd0007 100644 | |
--- a/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml | |
+++ b/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml | |
@@ -23,6 +23,15 @@ | |
CommandPrefix = "> ", | |
InstallPackageCommand = string.Format("dotnet add package {0} --version {1}", Model.Id, Model.Version) | |
}, | |
+ | |
+ new ThirdPartyPackageManagerViewModel() | |
+ { | |
+ Id = "paket-cli", | |
+ Name = "Paket CLI", | |
+ CommandPrefix = "> ", | |
+ InstallPackageCommand = string.Format("paket add {0} --version {1}", Model.Id, Model.Version), | |
+ ContactUrl = "https://github.com/fsprojects/Paket/issues" | |
+ }, | |
}; | |
} | |
@section SocialMeta { | |
-- | |
2.14.1.windows.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment