rebar3 icon indicating copy to clipboard operation
rebar3 copied to clipboard

overlays should have some way to query dep paths

Open evanmcc opened this issue 4 years ago • 4 comments

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"},

evanmcc avatar May 01 '20 21:05 evanmcc

Resolved in https://github.com/erlware/relx/pull/792

tsloughter avatar May 03 '20 14:05 tsloughter

Should this issue be closed?

paulo-ferraz-oliveira avatar Sep 15 '20 02:09 paulo-ferraz-oliveira

I believe it can be now that 3.14 is out. I'll try upgrading tomorrow and see if it works.

evanmcc avatar Sep 15 '20 04:09 evanmcc

finally got around to testing this and it does not work, or at least I cannot make it work.

evanmcc avatar Jun 03 '21 20:06 evanmcc