Skip to content

How can I retrieve the direct dependencies between modules? #5403

Answered by esope
esope asked this question in Q&A
Discussion options

You must be logged in to vote

I also tried to call Ocamldep.read_deps_of, that returns a list of module dependencies, but I only get error reports of the form

Error: No rule found for .foo.eobjs/dune__exe__Foo.impl.all-deps

for executables, and

Error: No rule found for .foo.objs/foo.impl.all-deps

for libraries.
Do you have any clue for me?

EDIT: answer is given in the discussion below.

Replies: 1 comment 8 replies

Comment options

esope
Feb 1, 2022
Collaborator Author

You must be logged in to vote
8 replies
@esope
Comment options

esope Feb 2, 2022
Collaborator Author

@nojb
Comment options

@esope
Comment options

esope Feb 3, 2022
Collaborator Author

@rgrinberg
Comment options

@esope
Comment options

esope Feb 4, 2022
Collaborator Author

Answer selected by esope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants