15 lines
325 B
Raku
15 lines
325 B
Raku
Test of a rule that tries to promote to a source directory that doesn't exist.
|
|
|
|
Taken from #3502
|
|
$ cat >dune-project <<EOF
|
|
> (lang dune 3.4)
|
|
> EOF
|
|
$ cat >dune <<EOF
|
|
> (subdir x
|
|
> (rule
|
|
> (mode (promote (until-clean)))
|
|
> (action (with-stdout-to y (echo "z")))))
|
|
> EOF
|
|
$ dune build x/y
|
|
$ cat x/y
|
|
z
|