Skip to content

dune build should build current directory's package, not entire dune project #6307

@mimoo

Description

@mimoo

When I'm in a specific folder in my dune project, I expect dune build to only build the package in that folder (that has a dune file)

$ pwd
/Users/davidwong/Work/mina_nix/src/lib/pickles

$ dune build
Entering directory '/Users/davidwong/Work/mina_nix'
...

The messages displayed seem to indicate that everything is being built.

I guess I would expect the same behavior with dune runtest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions