mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/ocaml-dep-single-exe.t
2025-11-11 02:07:51 +01:00

17 lines
417 B
Raku

When creating single module libraries & executables, running ocamldep isn't
necessary.
$ cat >dune-project <<EOF
> (lang dune 2.8)
> EOF
$ cat >dune <<EOF
> (executable (name foo))
> EOF
$ cat >foo.ml <<EOF
> print_endline "hello world"
> EOF
$ dune exec ./foo.exe
hello world
We check to see if ocamldep artifacts have been created:
$ find _build/default -name "*.all-deps" -or -name "*.d"