Skip to content

Running "dune build @install" in a workspace sub-project puts files in an unexpected directory #7335

@rlepigre

Description

@rlepigre

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 #7336 install-workspace.tar.gz.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions