Skip to content

Depending on alias is not transitive #3415

@ejgallego

Description

@ejgallego

Hi folks,

I'm not sure if this intended but posting here for discussion. Assume a dune file:

(alias
 (name foo)
 (deps (source_tree dir)))

(rule
 (alias bar)
 (deps (alias foo))
 (action (with-stdout-to out (bash "cat dir/dep"))))

dune build @bar will build out correctly the first time; however it we update dir/dep out is not rebuilt.

Dune 2.5.1 (back to 2.1.1), OCaml 4.10, Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions