Skip to content

feat(build): bundle LICENSES into kpar#332

Merged
andrius-puksta-sensmetry merged 1 commit into
mainfrom
sd/bundle-licenses
May 13, 2026
Merged

feat(build): bundle LICENSES into kpar#332
andrius-puksta-sensmetry merged 1 commit into
mainfrom
sd/bundle-licenses

Conversation

@simonas-drauksas-sensmetry
Copy link
Copy Markdown
Member

This PR mirrors the previously-implemented README.md and CHANGELOG.md bundling.

For now, it looks for license files in a pre-defined top-level LICENSES/ folder. In it, it tries to look for .txt license files named after the license expression in the .project.json file:

  • "license": "MIT", looks for LICENSES/MIT.txt
  • "license": "LicenseRef-MyCustom", looks for LICENSES/LicenseRef-MyCustom.txt
  • "license": "MIT OR Apache-2.0", looks for both LICENSES/MIT.txt and LICENSES/Apache-2.0.txt

We can handle custom license folders (together with README/CHANGELOG config) in a future PR.

Signed-off-by: Simonas Drauksas <simonas.drauksas@sensmetry.com>
Copy link
Copy Markdown
Collaborator

@andrius-puksta-sensmetry andrius-puksta-sensmetry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@andrius-puksta-sensmetry andrius-puksta-sensmetry merged commit a765966 into main May 13, 2026
49 checks passed
@andrius-puksta-sensmetry andrius-puksta-sensmetry deleted the sd/bundle-licenses branch May 13, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants