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,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