Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for licenseExpression in paket.template #3824

Merged
merged 3 commits into from
Jun 13, 2020
Merged

Add support for licenseExpression in paket.template #3824

merged 3 commits into from
Jun 13, 2020

Conversation

NicoVIII
Copy link
Contributor

@NicoVIII NicoVIII commented Apr 5, 2020

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 :)

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
Copy link
Member

forki commented Jun 13, 2020

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.

None yet

2 participants