Skip to content

Commit

Permalink
chore: add SourceLink to project files
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Oct 27, 2023
1 parent 770cf84 commit 828c31a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/AWS.Messaging.Lambda/AWS.Messaging.Lambda.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RollForward>Major</RollForward>
<PackageReadmeFile>README.md</PackageReadmeFile>

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

<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.SQSEvents" Version="2.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
Expand All @@ -27,6 +33,6 @@

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

</Project>
8 changes: 7 additions & 1 deletion src/AWS.Messaging/AWS.Messaging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RollForward>Major</RollForward>
<PackageReadmeFile>README.md</PackageReadmeFile>

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

<ItemGroup>
Expand All @@ -20,8 +25,9 @@
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="..\..\NOTICE" Pack="true" PackagePath="" />
Expand Down

0 comments on commit 828c31a

Please sign in to comment.