New CI build scripts for flexible directory strucutre #240
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We're planning on using more directories to better organize the existing (and future) examples provided in the repo.
The root level of the repo isn't planned to change too much, but a bunch of the library, and utility folders are filtered out of the compile-search in the new script.
Functionally, the new build_examples.py works the same as the build_examples.sh it is replacing, but it will support examples nested in other directories (i.e. seed/dsp/*, etc.).
This will be necessary for supporting new structures like requested in #239
The new build examples script has been tested to work with the existing structure and tested for recursive path-searching.
The build_dist.py script still needs to be updated to properly remap the "platform" to be a combo of folders (i.e.
seed/dsp
will end up showing up in the web programmer as "seed_dsp" under platform).While making a few changes I'd also like to address #129 since it's very old, and causes annoying merge conflicts for pretty much no reason.