Skip to content

Commit

Permalink
Use nugetizer for packing
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jun 25, 2024
1 parent a79ec58 commit 92a6d18
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ For numbers, the argument/option can be either `long` or `int`. Keep in mind tha

[![Version](https://img.shields.io/nuget/v/dotnet-config.svg?color=royalblue)](https://www.nuget.org/packages/dotnet-config) [![Downloads](https://img.shields.io/nuget/dt/dotnet-config.svg?color=darkmagenta)](https://www.nuget.org/packages/dotnet-config)

<!-- #cli -->
The command line tool allows you to inspect and modify configuration files used by your dotnet tools.
Installation is the same as for any other dotnet tool:

Expand Down Expand Up @@ -533,3 +534,6 @@ Command line parsing is done with [Mono.Options](https://www.nuget.org/packages/
all the following variants for arguments are supported: `-flag`, `--flag`, `/flag`, `-flag=value`,
`--flag=value`, `/flag=value`, `-flag:value`, `--flag:value`, `/flag:value`, `-flag value`,
`--flag value`, `/flag value`.
<!-- #cli -->
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
4 changes: 4 additions & 0 deletions src/CommandLine/CommandLine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ The following heuristics are applied when providing default values:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NuGetizer" Version="1.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Polyfill.NET" Version="1.0.12" PrivateAssets="all" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21308.1" />
</ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions src/Config.Tool/Config.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ Other

<ItemGroup>
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
<PackageReference Include="NuGetizer" Version="1.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ThisAssembly" Version="1.4.3" PrivateAssets="all" />
<PackageReference Include="Polyfill.NET" Version="1.0.12" PrivateAssets="all" />
</ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions src/Config.Tool/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- include ../../readme.md#cli -->
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
<!-- exclude -->
4 changes: 4 additions & 0 deletions src/Config/Config.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Usage:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NuGetizer" Version="1.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
<PackageReference Include="ThisAssembly" Version="1.4.3" PrivateAssets="all" />
<PackageReference Include="docfx.console" Version="2.59.4" PrivateAssets="all" />
Expand Down
4 changes: 4 additions & 0 deletions src/Configuration/Configuration.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Note: section is required and subsection is optional, just like in dotnet-config

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageReference Include="NuGetizer" Version="1.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 92a6d18

Please sign in to comment.