Skip to content

Commit

Permalink
Add info to produce a dotnet tool on dotnet pack (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémie Bertrand authored and laedit committed Oct 19, 2020
1 parent f08fe7d commit 7db2ca8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/NVika/NVika.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<ErrorLog>bin\$(Configuration)\$(TargetFramework)\static-analysis.Core.sarif.json;version=2</ErrorLog>
<PackAsTool>true</PackAsTool>
<ToolCommandName>nvika</ToolCommandName>
<Authors>laedit</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Tool - Parse analysis reports (InspectCode, ...) and send messages to build server or console.</Description>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/laedit/vika</PackageProjectUrl>
<RepositoryUrl>https://github.com/laedit/vika</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>report parsing build server inspectcode FxCop SARIF Roslyn Gendarme</PackageTags>
<PackageReleaseNotes>https://github.com/laedit/vika/releases</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand All @@ -19,6 +31,17 @@
<EmbeddedResource Include="Schemas\Sarif.schema.json" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\resources\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="codecracker.CSharp" Version="1.1.0">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 7db2ca8

Please sign in to comment.