Skip to content

Commit

Permalink
Add source link and symbols to nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Apr 21, 2023
1 parent 610bd0a commit ae1b1d2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 27 deletions.
42 changes: 24 additions & 18 deletions src/FSharpAux.Core/FSharpAux.Core.fsproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Authors>Kevin Schneider, Timo Mühlhaus, Oliver Maus, Kevin Frey, Jonathan Ott, David Zimmer, Benedikt Venn, Heinrich Lukas Weil</Authors>
<Description>Extensions, auxiliary functions and data structures for the F# programming language.</Description>
<Summary>Extensions, auxiliary functions and data structures for the F# programming language.</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;FSharp;fable;fable-library;fable-javascript</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<OutputType>Library</OutputType>
<RepositoryType>git</RepositoryType>
<TargetFramework>netstandard2.0</TargetFramework>
<Authors>Kevin Schneider, Timo Mühlhaus, Oliver Maus, Kevin Frey, Jonathan Ott, David Zimmer, Benedikt Venn, Heinrich Lukas Weil</Authors>
<Description>Extensions, auxiliary functions and data structures for the F# programming language.</Description>
<Summary>Extensions, auxiliary functions and data structures for the F# programming language.</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;FSharp;fable;fable-library;fable-javascript</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<OutputType>Library</OutputType>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Hex.fs" />
Expand Down Expand Up @@ -45,8 +47,12 @@
<Compile Include="Tree.fs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<!-- Required for Fable compatibility -->
<ItemGroup>
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions src/FSharpAux.IO/FSharpAux.IO.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
Expand All @@ -21,6 +23,7 @@
<Compile Include="SeqIO.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<ProjectReference Include="..\FSharpAux\FSharpAux.fsproj" />
</ItemGroup>
</Project>
21 changes: 12 additions & 9 deletions src/FSharpAux/FSharpAux.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<RootNamespace>FSharpAux</RootNamespace>
<AssemblyName>FSharpAux</AssemblyName>
<Name>FSharpAux</Name>
<Authors>Kevin Schneider, Timo Mühlhaus, Oliver Maus, Kevin Frey, Jonathan Ott, David Zimmer, Benedikt Venn, Heinrich Lukas Weil</Authors>
<Description>Extensions, auxiliary functions and data structures for the F# programming language.</Description>
<Summary>Extensions, auxiliary functions and data structures for the F# programming language.</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;FSharp</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<Authors>Kevin Schneider, Timo Mühlhaus, Oliver Maus, Kevin Frey, Jonathan Ott, David Zimmer, Benedikt Venn, Heinrich Lukas Weil</Authors>
<Description>Extensions, auxiliary functions and data structures for the F# programming language.</Description>
<Summary>Extensions, auxiliary functions and data structures for the F# programming language.</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;FSharp</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand All @@ -19,9 +19,11 @@
<!-- Optional: Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<OutputType>Library</OutputType>
<RepositoryType>git</RepositoryType>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<Compile Include="Array.fs" />
<Compile Include="Array2D.fs" />
Expand All @@ -33,8 +35,9 @@
<Compile Include="Seq.fs" />
<Compile Include="String.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<ProjectReference Include="..\FSharpAux.Core\FSharpAux.Core.fsproj" />
</ItemGroup>
</Project>

0 comments on commit ae1b1d2

Please sign in to comment.