-
Notifications
You must be signed in to change notification settings - Fork 413
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
Running "dune build @install" in a workspace sub-project puts files in an unexpected directory #7335
Comments
Thanks. The title mentions |
Indeed, sorry, I fixed the title. |
Signed-off-by: Rodolphe Lepigre <[email protected]>
Signed-off-by: Rodolphe Lepigre <[email protected]> Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Rodolphe Lepigre <[email protected]> Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Rodolphe Lepigre <[email protected]> Signed-off-by: Ali Caglayan <[email protected]>
@rlepigre as explained in #7336 this is the intended behaviour since @emillon maybe it is worth adding some documentation about this difference (the fact that -p is setting the root). However I can only find documentation about -p in the help page rather than in the manual. |
OK, I see. This behaviour sounds a bit weird to me, but I understand this cannot be changed at this point. Thanks! |
I recently added that part to explain how the opam integration works: https://dune.readthedocs.io/en/latest/explanation/opam-integration.html#what-p-means |
Expected Behavior
When I work in a dune workspace containing several dune projects, I expect all produced files (barring promoted ones) to end up in
<workspace_root>/_build
.Actual Behavior
This does not seem to be the case when using
dune build @install
from a project subdirectory: files end up in a_build
placed under project's root (instead of the workspace root).Reproduction
See
#7336install-workspace.tar.gz.The text was updated successfully, but these errors were encountered: