Removes restrictions on calling Build.invent and Build.__setup_default more than once. I admit I don't understand the full implications of this, so I'd encourage the author @LeStarch to evaluate whether this breaks things. Anecdotally, locally installing this allows me to call generate in my fprime project several times without error.
Rationale
Fixes a (perceived) bug that fprime-util generate should not fail if a cache already exists
Testing/Review Recommendations
There is a very simple included unit test that shows that calling Builder.invent() twice does not raise an assertion. Please let me know what else I need to test.
Which allows users to call fprime-util generate several times without faiure
Change Description
Removes restrictions on calling Build.invent and Build.__setup_default more than once. I admit I don't understand the full implications of this, so I'd encourage the author @LeStarch to evaluate whether this breaks things. Anecdotally, locally installing this allows me to call generate in my fprime project several times without error.
Rationale
Fixes a (perceived) bug that fprime-util generate should not fail if a cache already exists
Testing/Review Recommendations
There is a very simple included unit test that shows that calling Builder.invent() twice does not raise an assertion. Please let me know what else I need to test.