Last active
September 25, 2020 11:24
-
-
Save NickCraver/33a825aca1fd0893ea019976a2f98850 to your computer and use it in GitHub Desktop.
MiniProfiler README Table Generator
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
var packages = new[] { | |
"MiniProfiler", | |
"MiniProfiler.AspNetCore", | |
"MiniProfiler.AspNetCore.Mvc", | |
"MiniProfiler.EF6", | |
"MiniProfiler.EntityFrameworkCore", | |
"MiniProfiler.Mvc5", | |
"MiniProfiler.Providers.MongoDB", | |
"MiniProfiler.Providers.MySql", | |
"MiniProfiler.Providers.Redis", | |
"MiniProfiler.Providers.SqlServer", | |
"MiniProfiler.Providers.SqlServerCe", | |
"MiniProfiler.Shared" | |
}; | |
foreach (var p in packages) | |
{ | |
string shields = "https://img.shields.io", | |
nuGet = $"https://www.nuget.org/packages/{p}/", | |
myGet = $"https://www.myget.org/feed/miniprofiler/package/nuget/{p}"; | |
$"| [{p}]({nuGet}) | [![{p}]({shields}/nuget/v/{p}.svg)]({nuGet}) | [![{p}]({shields}/nuget/vpre/{p}.svg)]({nuGet}) | [![{p}]({shields}/nuget/dt/{p}.svg)]({nuGet}) | [![{p} MyGet]({shields}/myget/miniprofiler/vpre/{p}.svg)]({myGet}) |".Dump(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment