Debian Codegraph @

test/blackbox-tests/test-cases/directory-targets/old-style/file-overlap-dir.t/run.t

raw
1 File targets overlapping with directories
2
3 $ dune build @all
4 File "dune", lines 1-3, characters 0-57:
5 1 | (rule
6 2 | (targets dir)
7 3 | (action (bash "mkdir %{targets}")))
8 Error: This rule defines a target "dir" whose name conflicts with a source
9 directory in the same directory.
10 Hint: If you want Dune to generate and replace "dir", add (mode promote) to
11 the rule stanza. Alternatively, you can delete "dir" from the source tree or
12 change the rule to generate a different target.
13 [1]
14