rebar3
rebar3 copied to clipboard
overlays should have some way to query dep paths
Current behaviour
Currently, if you want to pull a dep file out of an overlay, you need to include the full path, like the below:
{copy, "./_build/default/lib/blockchain/scripts/extensions/snapshot", "bin/extensions/snapshot"},
This precludes using _checkouts
with deps that you need to copy files out of.
Expected behaviour
Ideally, I'd be able to write something like the below, and have rebar3 automatically find the blockchain
dep and sub in the path to it, regardless of profile or using checkouts or what have you.
{copy, "{{blockchain}}/scripts/extensions/snapshot", "bin/extensions/snapshot"},
Resolved in https://github.com/erlware/relx/pull/792
Should this issue be closed?
I believe it can be now that 3.14 is out. I'll try upgrading tomorrow and see if it works.
finally got around to testing this and it does not work, or at least I cannot make it work.