Skip to content

Commit

Permalink
Add README.md to NuGet package (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Nov 19, 2023
1 parent 8bd0eb5 commit 959acf7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Esprima/Esprima.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<NoWarn>$(NoWarn);1591</NoWarn>

<AnalysisLevel>latest-Recommended</AnalysisLevel>

<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.1'">$(DefineConstants);HAS_SPAN_PARSE</DefineConstants>
</PropertyGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="PolySharp" PrivateAssets="all" />
<PackageReference Include="System.Memory" Condition=" '$(TargetFramework)' != 'netstandard2.1'" />
Expand Down

0 comments on commit 959acf7

Please sign in to comment.