mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/promote/non-existent-subdir.t
2025-11-11 02:07:51 +01:00

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