Skip to content

Commit bdf075b

Browse files
authored
fix: Add PackageLicenseExpression for /src (#236)
* Add PackageLicenseExpression for /src * Remove License Files * Add Authors, Copyright * PackageProjectUrl * Remove superseded paket.template files * Update description * Fix PackageTags chaining * Remove redundant flags * Comma separate tags Per https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices
1 parent a0fa859 commit bdf075b

File tree

4 files changed

+8
-55
lines changed

4 files changed

+8
-55
lines changed

src/Directory.Build.props

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@
22
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
33

44
<PropertyGroup>
5-
<Description>FsToolkit.ErrorHandling is a utility library to work with the Result type in F#, and allows you to do clear, simple and powerful error handling.</Description>
6-
<PackageLicenseFile>License</PackageLicenseFile>
5+
<Description>FsToolkit.ErrorHandling is an extensive utility library based around the F# Result type, enabling consistent and powerful error handling.</Description>
6+
<Authors>demystifyfp, TheAngryByrd</Authors>
7+
<Copyright>Copyright © 2018-23</Copyright>
8+
<PackageProjectUrl>https://demystifyfp.gitbook.io/fstoolkit-errorhandling</PackageProjectUrl>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<PackageReadmeFile>README.md</PackageReadmeFile> <!--https://docs.microsoft.com/en-gb/nuget/reference/msbuild-targets#packagereadmefile -->
711
</PropertyGroup>
812
<ItemGroup>
913
<None Include="$(MSBuildThisFileDirectory)../README.md" Pack="true" PackagePath="/"/>
10-
<None Include="$(MSBuildThisFileDirectory)..\License" Pack="true" PackagePath=""/>
1114
</ItemGroup>
1215

1316
<PropertyGroup>
14-
1517
<GenerateDocumentationFile>true</GenerateDocumentationFile>
16-
<IsPackable>true</IsPackable>
17-
<IsTestProject>false</IsTestProject>
18-
<PackageTags>f#;fsharp;railway oriented programming;ROP;result type;error handling</PackageTags>
19-
<PackageReadmeFile>README.md</PackageReadmeFile> <!--https://docs.microsoft.com/en-gb/nuget/reference/msbuild-targets#packagereadmefile -->
18+
<PackageTags>f#, fsharp, railway oriented programming, ROP, result type, error handling</PackageTags>
2019
<!-- Sourcelink -->
2120
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2221
<EmbedUntrackedSources>true</EmbedUntrackedSources>

src/FsToolkit.ErrorHandling.JobResult/paket.template

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/FsToolkit.ErrorHandling.TaskResult/paket.template

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/FsToolkit.ErrorHandling/FsToolkit.ErrorHandling.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<LangVersion>preview</LangVersion>
77
<DebugType>portable</DebugType>
88

9-
<PackageTags>($PackageTags);fable-library;fable-dotnet;fable-javascript;fable-python</PackageTags>
9+
<PackageTags>$(PackageTags), fable-library, fable-dotnet, fable-javascript, fable-python</PackageTags>
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<Compile Include="Shims.fs" />

0 commit comments

Comments
 (0)