Skip to content

Incorrect message when target of copy_files# doesn't exist #1099

@Khady

Description

@Khady

When trying to build something with dune, if there is a copy_files# anywhere in the project that can't access the files to copy, a message saying there is a recursive dependency is printed. I find the message misleading.

$ dune build demo.exe
Recursive dependency between directories:
    no_dir
--> .
$ tree
.
├── _build
│   └── log
├── demo.ml
├── dune
└── dune-project

dune:

(copy_files# "no_dir/*")

(executable (name demo))

demo.ml:

let () = ()

Metadata

Metadata

Assignees

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