Skip to content
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

app_deps.erl enhancements #98

Open
Zabrane opened this issue Apr 6, 2022 · 2 comments
Open

app_deps.erl enhancements #98

Zabrane opened this issue Apr 6, 2022 · 2 comments

Comments

@Zabrane
Copy link

Zabrane commented Apr 6, 2022

@ferd would it be possible to add ebin directories under _checkouts to script/app_deps.erl?

main(_) ->
    AppFiles = filelib:wildcard("deps/*/ebin/*.app")
               ++
               filelib:wildcard("apps/*/ebin/*.app")
               ++
               filelib:wildcard("ebin/*.app")
               ++
               filelib:wildcard("_build/default/lib/*/ebin/*.app")
               ++
               filelib:wildcard("_checkouts/*/ebin/*.app"), %% _checkouts
    to_graphviz(read_deps(AppFiles)).
@ferd
Copy link
Owner

ferd commented Apr 6, 2022

It may actually make more sense given newer rebar3 releases to go for _build/default/checkouts/*/ebin/*.app to use that path rather than directly in the checkouts directory I think?

@Zabrane
Copy link
Author

Zabrane commented Apr 7, 2022

@ferd works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants