Skip to content

Commit

Permalink
tweak package metadata, add snupkg, exclude source generators from pa…
Browse files Browse the repository at this point in the history
…ckaging
  • Loading branch information
lahma committed Feb 17, 2024
1 parent 925f534 commit 90ab576
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>

<VersionPrefix>0.1.0</VersionPrefix>

<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/adams85/acornima</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>

<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

</Project>
16 changes: 0 additions & 16 deletions build/Configuration.cs

This file was deleted.

4 changes: 4 additions & 0 deletions src/Acornima.Extras/Acornima.Extras.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<InternalsVisibleTo Include="Acornima.Tests" />
</ItemGroup>

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

<!-- Configure polyfills -->

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsRoslynComponent>true</IsRoslynComponent>
<IsPackable>false</IsPackable>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<NoWarn>$(NoWarn);RS1035</NoWarn>
</PropertyGroup>
Expand All @@ -22,5 +23,5 @@
System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute
</PolySharpIncludeGeneratedTypes>
</PropertyGroup>

</Project>
4 changes: 4 additions & 0 deletions src/Acornima/Acornima.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<InternalsVisibleTo Include="Acornima.Tests" />
</ItemGroup>

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

<ItemGroup>
<Compile Update="Properties\ParseErrorMessages.Designer.cs">
<DependentUpon>ParseErrorMessages.resx</DependentUpon>
Expand Down

0 comments on commit 90ab576

Please sign in to comment.