erlang / rebar3

Erlang build tool that makes it easy to compile and test Erlang applications and releases.
http://www.rebar3.org
Apache License 2.0
1.7k stars 518 forks source link

Add path option to `local install` command #2913

Open tsloughter opened 1 month ago

tsloughter commented 1 month ago

For use in beamup it'd be nice if rebar3 local install took a path to where to unpack .

paulo-ferraz-oliveira commented 1 month ago

Maybe local upgrade, too?

I was thinking about this the other day, for when installing rebar3 via asdf or brew. asdf installs stuff in .asdf but the install (if not done by asdf) updates a different folder. The way asdf prevents updates when installed via brew, for example

Update command disabled. Please use the package manager that you used to install asdf to upgrade asdf.

is via https://asdf-vm.com/manage/configuration.html#internal-configuration. Maybe an idea to make a more generic mechanism? (or should this be a separate issue?)