Skip to content

Commit

Permalink
Include the license file in the NuGet package (#180)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Krymets <[email protected]>
  • Loading branch information
eXpl0it3r and pakrym authored Feb 5, 2025
1 parent 8087b87 commit 2f53fae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Jab/Jab.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<BeforePack>$(BeforePack);ResolveProjectReferences</BeforePack>
<BuildProjectReferences Condition="'$(NoBuild)' == 'true'">false</BuildProjectReferences>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -32,6 +33,7 @@
<!-- Package the generator in the analyzer directory of the nuget package -->
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/roslyn4.0" Visible="false" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" Visible="false" />
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" Visible="false" />
<Content Include="build\Jab.targets" Pack="True" PackagePath="build" />
</ItemGroup>

Expand Down

0 comments on commit 2f53fae

Please sign in to comment.