Added dependencies of executables to the output of dune describe#5376
Closed
esope wants to merge 14 commits intoocaml:mainfrom
Closed
Added dependencies of executables to the output of dune describe#5376esope wants to merge 14 commits intoocaml:mainfrom
dune describe#5376esope wants to merge 14 commits intoocaml:mainfrom
Conversation
The direct dependencies of executables to (external) libraries were forgotten so far. Signed-off-by: Benoît Montagu <benoit.montagu@inria.fr>
dune describe
…_more Signed-off-by: Benoît Montagu <benoit.montagu@inria.fr>
Signed-off-by: Benoît Montagu <benoit.montagu@inria.fr>
Signed-off-by: Benoît Montagu <benoit.montagu@inria.fr>
Signed-off-by: Benoît Montagu <benoit.montagu@inria.fr>
Collaborator
Author
|
This PR is a complement to PR#5395. |
Member
|
One PR would be preferred. |
Collaborator
Author
|
Fine. I ported the changes to PR#5395. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The direct dependencies of executables to (external) libraries were
forgotten so far.
For example, with an empty
foo.mlfile and adunefile containingthe command
dune describewas printingThe dependence to
cmdlinerwas given by mentioning its hash, but there was no entry of a library with this hash in the produced output.With this patch,
dune describenow outputswhere the new item for the
cmdlinerlibrary is now present.This PR complements PR#5395, that ensures that the set of libraries a project depends on is transitively closed.
Signed-off-by: Benoît Montagu benoit.montagu@inria.fr