fix: dep overrides to dev template#920
Conversation
|
Awesome, thank you! Do you think we could somehow usefully share this between the 'core' HB build and the template automatically perhaps? Then we don't have to worry about keeping it up-to-date. Dumb v0: Just have a |
|
good point @samcamwilliams , agreed! what about something like and 'core' hyperbeam consume that fragment from then for templates, install-template reads and render it? we endup with some sort of shared contained addresable overrrides |
9c288e4 to
053a788
Compare
|
Something like that would be great, if there is nice rebar3 support for it.
The issue I think is that our build invocation is through |
|
then maybe one possible path can be putting the overrides in shared config file, then using |
about
testing
rebar3 new device name=testdevfrom latest edge results in the error below because Forge device template dont inherit the root hyperbeam dependency overrides. so runningrebar3 compilein/testdev:patch
added the same dep overrides to the generated device
rebar.configso external dev repositories compile from a clean templaterepro
rebar3 new device name=testdevfromedgefails with the cowlib error above ^install-template --local "$PWD"from this PR branch generate a project that compile fineinstall-template --branch fix/plugin-rebar-config --repo https://github.com/permaweb/HyperBEAM.gitgenerates a project that compile as well