Skip to content

Conversation

jepler
Copy link
Contributor

@jepler jepler commented Dec 19, 2023

Some bundles, such as circuitpython-fonts, don't use submodules to contain their individual libraries.

Change build_bundle_json so that it works correctly if multiple libraries come from the same submodule.

With this change, the generated metadata for circuitpython-fonts contains an entry for every font, not just for one font.

I spot checked the result on the main bundle and it looks sane as well.

@Neradoc I don't know all the reasons that you rolled your own build script for https://github.com/Neradoc/Circuitpython_Keyboard_Layouts but I'm guessing this might have been one of them. Do you have any interest in figuring out what else would need to change to allow you to use circuitpython-build-bundles as well?

Some bundles, such as circuitpython-fonts, don't use submodules to
contain their individual libraries.

Change build_bundle_json so that it works correctly if multiple
libraries come from the same submodule.

With this change, the generated metadata for circuitpython-fonts
contains an entry for every font, not just for one font.
@jepler jepler requested a review from dhalbert December 19, 2023 19:22
Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

👍

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