This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
dune utop should read libraries in (subdir ..)
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.6)
|
||||
> EOF
|
||||
|
||||
$ cat >dune <<EOF
|
||||
> (data_only_dirs foo)
|
||||
> (subdir foo
|
||||
> (library
|
||||
> (modules foolib)
|
||||
> (name foolib)))
|
||||
> EOF
|
||||
|
||||
$ mkdir foo
|
||||
$ cat >foo/foolib.ml <<EOF
|
||||
> let hw () = print_endline "foolib"
|
||||
> EOF
|
||||
|
||||
$ cat >foo.ml <<EOF
|
||||
> Foolib.hw ()
|
||||
> EOF
|
||||
|
||||
$ dune utop . -- foo.ml
|
||||
foolib
|
||||
Loading…
Add table
Add a link
Reference in a new issue