Skip to content

Add support for licenseExpression in paket.template - #3824

Merged
forki merged 3 commits into
fsprojects:masterfrom
NicoVIII:feature/support_license_expression
Jun 13, 2020
Merged

forki merged 3 commits into
fsprojects:masterfrom
NicoVIII:feature/support_license_expression

Conversation

@NicoVIII

@NicoVIII NicoVIII commented Apr 5, 2020 •

Copy link
Copy Markdown
Contributor

I wanted to add the license of my project with paket pack in a similar way I am used to with dotnet pack and stumbled across #3710

A while ago Nuget deprecated licenseUrl and this is not yet reflected in paket.template. (https://docs.microsoft.com/de-de/nuget/reference/nuspec#license)
Therefore I tried adding support for the license expression.

I tried to adjust tests a bit and edited documentation. I hope I did everything right.

Thanks for your work! Paket is a really helpful tool :)

NicoVIII added 3 commits April 5, 2020 14:04
NuGet deprecated LicenseUrl a while ago but Paket does not support
any of the alternatives (file and expression).
I couldn't imagine good test cases so I adjusted basic ones.
@forki

forki commented Jun 13, 2020

Copy link
Copy Markdown
Member

sorry for delay. thanks for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants