test/blackbox-tests/test-cases/rocq/coqdoc-dir-target-clash.t/run.t
raw| 1 | We try to build the documentation but there will be a clash between the |
| 2 | directory targets. |
| 3 | $ dune build @check |
| 4 | File "dune", lines 1-7, characters 0-120: |
| 5 | 1 | (rule |
| 6 | 2 | (targets |
| 7 | 3 | (dir base.html)) |
| 8 | 4 | (action |
| 9 | 5 | (progn |
| 10 | 6 | (run mkdir base.html) |
| 11 | 7 | (run touch base.html/base.base.html)))) |
| 12 | Error: The following both define the same directory target: |
| 13 | _build/default/base.html |
| 14 | - dune:1 |
| 15 | - dune:17 |
| 16 | [1] |