This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name foo)
|
||||
(preprocess (action (with-stdout-to %{targets} (run cat %{input-file})))))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let x = 42
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
Check that %{targets} is forbidden in preprocessing actions
|
||||
|
||||
$ dune build @all
|
||||
File "dune", line 3, characters 37-47:
|
||||
3 | (preprocess (action (with-stdout-to %{targets} (run cat %{input-file})))))
|
||||
^^^^^^^^^^
|
||||
Error: You cannot use %{targets} in preprocessing actions.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue