Closed masenf closed 3 years ago
~need to fix the output paths for default-codeplug.~ ✔️ FIXED
previously, the same-named top level dir was created in the output dir; however a change that was made caused the codeplug to write directly to $OUTPUT without a subdir
Add a parallel API for creating a codeplug using python, instead of CLI invocation.
The new
CodeplugRecipe
class contains all of the functionality that was previously defined in the__main__
program, now encapsulated in a way that provides better input validation and flexibility to override or hook into some of the generation process using python code.Additionally clean up the default codeplugs and update tox.ini and default-codeplugs.yml to allow true cross-platform codeplug generation with no dependency on bash.
(The bash scripts remain as examples)
fixes #60