19 lines
363 B
Perl
19 lines
363 B
Perl
This test checks that executable that uses 'dynamic-run'
|
|
|
|
but requires no dependencies can be successfully run.
|
|
|
|
$ 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
|
|
Hello from foo!
|