This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,17 @@
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"