mte/unikernel/duniverse/dune_/otherlibs/dune-action-plugin/test/one-undeclared-target/run.t
2025-11-11 02:07:51 +01:00

20 lines
471 B
Raku

$ cat > dune-project << EOF
> (lang dune 2.0)
> (using action-plugin 0.1)
> EOF
$ cat > dune << EOF
> (rule
> (alias runtest)
> (action (dynamic-run ./foo.exe)))
> EOF
$ cp ./bin/foo.exe ./
$ dune runtest
File "dune", lines 1-3, characters 0-57:
1 | (rule
2 | (alias runtest)
3 | (action (dynamic-run ./foo.exe)))
bar is written despite not being declared as a target in dune file. To fix, add it to target list in dune file.
[1]