forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Etienne Millon <[email protected]>
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
$ cat > ./dune-project << EOF | ||
> (lang dune 2.9) | ||
> (package (name pub)) | ||
> EOF | ||
|
||
$ cat > dune << EOF | ||
> (library | ||
> (public_name pub) | ||
> (modules pub) | ||
> (libraries priv)) | ||
> | ||
> (library | ||
> (name priv) | ||
> (modules priv) | ||
> (package pub) | ||
> (libraries dep)) | ||
> | ||
> (library | ||
> (name dep) | ||
> (modules dep)) | ||
> EOF | ||
|
||
$ touch {pub,priv,dep}.ml | ||
|
||
$ mkdir bin | ||
|
||
$ cat > ./bin/dune-project << EOF | ||
> (lang dune 2.9) | ||
> EOF | ||
|
||
$ cat > ./bin/dune << EOF | ||
> (executable | ||
> (name prog) | ||
> (libraries pub)) | ||
> EOF | ||
|
||
$ touch ./bin/prog.ml | ||
|
||
$ dune build 2>&1 | head -n 3 | ||
Internal error, please report upstream including the contents of _build/log. | ||
Description: | ||
("Unexpected find result", { found = Not_found; lib.name = "dep" }) |