This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,3 @@
(rule
(targets x y)
(action (with-stdout-to %{targets} (echo foo))))

View file

@ -0,0 +1 @@
(lang dune 1.0)

View file

@ -0,0 +1,10 @@
This behavior is surprising, we should get an error about the fact
that ${@} is not quoted and doesn't contain exactly 1 element
$ dune build x
File "dune", line 3, characters 25-35:
3 | (action (with-stdout-to %{targets} (echo foo))))
^^^^^^^^^^
Error: Variable %{targets} expands to 2 values, however a single value is
expected here. Please quote this atom.
[1]