-
-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case_clause in dep_autopatch_rebar.erl when transforming git_subdir #1004
Comments
It should be straightforward to add support for |
Probably best to add a clause immediately above https://github.com/ninenines/erlang.mk/blob/master/core/deps.mk#L462 that matches on |
This is against erlang.mk, rather than deps.mk (I'll do it properly later), but you're thinking something like this...?
|
Yes something like this. |
Rebar 3.14 added
git_subdir
to its supported dependency formats. See https://rebar3.org/docs/configuration/dependencies/. These have 4 elements. This causesdep_autopatch_rebar.erl
to fail with the following error:rebar.config references eqWAlizer, following the instructions here: https://github.com/whatsapp/eqwalizer?tab=readme-ov-file#using-it-with-rebar3-projects
In the case of eqwalizer, because it's only used at build-time, I can probably work around this with a rebar profile that erlang.mk will ignore. But with other
git_subdir
dependencies, such as opentelemetry-erlang, this won't be feasible.The text was updated successfully, but these errors were encountered: