[erlang-questions] [ANN] rebar3_path_deps a plugin to specify path dependencies in rebar.config
Thu Oct 18 10:21:37 CEST 2018
Thanks! To complete, as I was saying on slack I created this plugin with
the following goals in mind:
1) having a way to handle dependencies inside a mono repo, which means
something I can include and build by profile or another subproject inside
of the mono repo. Something that `project_app_dirs` doesn't allow since all
apps inside these folders are built (different purpose)
2) have something as simple as you could find in cargo (the rust packager)
Ie. it's purpose is really for mono repos. I have updated the readme to
reflect its usage.
Other differences from `localdep` are:
- it doesn't use an environment variables to find the dependencies, the
dependencies are related to the rebar.config folder of the top project.
- On compilation it checks if the sources have changed and if not will not
rebuild the dependency.
Hope it will be useful.
On Wed, Oct 17, 2018 at 1:12 PM Alin Popa <alin.popa@REDACTED> wrote:
> We've been doing that as well, in a previous company, some time ago
> Indeed, this particular one looks better.
> On Wed, Oct 17, 2018 at 12:09 PM Sölvi Páll Ásgeirsson <solvip@REDACTED>
>> We're doing something similar by hackily abusing _checkouts.
>> This looks much better
>> Thanks for this!
>> On Wed, Oct 17, 2018 at 11:02 AM Benoit Chesneau <bchesneau@REDACTED>
>> > I've created a new rebar plugin to handle path dependencies in your
>> > This plugin add to rebar the supports of path dependencies which are
>> typically sub-applications that live within one repository.
>> > That is useful when you're project is growing over the time and
>> requires to split the dependencies, but you still want to handle everything
>> in one repository for some convenience.
>> > The source and full usage doc is there:
>> > It's already available on hex:
>> > https://hex.pm/packages/rebar3_path_deps
>> > Hope it helps,
>> > Benoît.
>> > _______________________________________________
>> > erlang-questions mailing list
>> > erlang-questions@REDACTED
>> > http://erlang.org/mailman/listinfo/erlang-questions
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions