This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
SOURCE
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(rule
|
||||
(progn
|
||||
(with-stdout-to a (echo "GENERATED"))
|
||||
(with-stdout-to b (echo "GENERATED"))))
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
Reproduction case for #2061. Make sure dune errors out when a rule in
|
||||
standard mode produces multiple files and only a strict subset of them
|
||||
is in the source tree.
|
||||
|
||||
Before Dune 2.0, Dune was trying to be clever. However, this was more
|
||||
confusing than anything.
|
||||
|
||||
$ echo '(lang dune 1.10)' > dune-project
|
||||
$ dune build a
|
||||
Error: Multiple rules generated for _build/default/a:
|
||||
- dune:1
|
||||
- file present in source tree
|
||||
Hint: rm -f a
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue