Skip to content

Commit

Permalink
Merge pull request #147 from martincostello/oss-library-guidance
Browse files Browse the repository at this point in the history
Best practices as-per "Open-source library guidance"
  • Loading branch information
martincostello authored Oct 26, 2018
2 parents 7ffb909 + 0d506a1 commit 1aefe93
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
</ItemGroup>
<PropertyGroup>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<Authors>Just Eat</Authors>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)justeat-oss.snk</AssemblyOriginatorKeyFile>
<Authors>JUSTEAT_OSS</Authors>
<Company>Just Eat</Company>
<Copyright>Copyright (c) Just Eat 2015-$([System.DateTime]::Now.ToString(yyyy))</Copyright>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand All @@ -18,15 +19,17 @@
<LangVersion>latest</LangVersion>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageIconUrl>https://avatars3.githubusercontent.com/u/1516790?s=200</PackageIconUrl>
<PackageIconUrl>https://avatars3.githubusercontent.com/u/1516790?s=64</PackageIconUrl>
<PackageProjectUrl>https://github.com/justeat/JustEat.StatsD</PackageProjectUrl>
<PackageLicenseUrl>$(PackageProjectUrl)/blob/master/LICENSE</PackageLicenseUrl>
<PackageReleaseNotes>$(PackageProjectUrl)/releases</PackageReleaseNotes>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>statsd;graphite;metrics;monitoring</PackageTags>
<PackageTags>statsd,graphite,metrics,monitoring</PackageTags>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
<SignAssembly>true</SignAssembly>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
</Project>
Binary file added justeat-oss.snk
Binary file not shown.
4 changes: 2 additions & 2 deletions src/JustEat.StatsD/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
[assembly: ComVisible(false)]
[assembly: Guid("8f4ff09e-4130-4872-a50f-b290e9ccb04b")]

[assembly: InternalsVisibleTo("JustEat.StatsD.Tests")]
[assembly: InternalsVisibleTo("Benchmark")]
[assembly: InternalsVisibleTo("JustEat.StatsD.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001009d30c64bc42ba5037aec3cf60334df3a4c140ffc1dab19fdd31c9765e4e29afa441396ff9437a764b618c6473a3b350c56d706a0fbe83915f1f250ee23eb548b30306187ac685f65caa48303dc86f08c1c24d99dc84966273c207eaa8570b440004c7f49cef4ec77bc69118610ae2b53db7d8abeb465cbcd4bd190feaf517aad")]
[assembly: InternalsVisibleTo("Benchmark, PublicKey=00240000048000009400000006020000002400005253413100040000010001009d30c64bc42ba5037aec3cf60334df3a4c140ffc1dab19fdd31c9765e4e29afa441396ff9437a764b618c6473a3b350c56d706a0fbe83915f1f250ee23eb548b30306187ac685f65caa48303dc86f08c1c24d99dc84966273c207eaa8570b440004c7f49cef4ec77bc69118610ae2b53db7d8abeb465cbcd4bd190feaf517aad")]
1 change: 1 addition & 0 deletions version.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<VersionPrefix>4.0.0</VersionPrefix>
<VersionSuffix></VersionSuffix>

Expand Down

0 comments on commit 1aefe93

Please sign in to comment.