This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue