Skip to content

Instantly share code, notes, and snippets.

@NickCraver
Last active September 25, 2020 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save NickCraver/33a825aca1fd0893ea019976a2f98850 to your computer and use it in GitHub Desktop.
Save NickCraver/33a825aca1fd0893ea019976a2f98850 to your computer and use it in GitHub Desktop.
MiniProfiler README Table Generator
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