This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
This is a reproduction case from issue #4345.
|
||||
This was a bug where using (copy_files ...) to depend on files from a parent
|
||||
directory would cause in internal error in dune due to a dependency cycle. The
|
||||
bug is now fixed, so this project should build without error.
|
||||
|
||||
$ DIR="gh4345"
|
||||
$ mkdir $DIR && cd $DIR
|
||||
$ echo "(lang dune 2.8)" > dune-project
|
||||
$ mkdir lib
|
||||
$ touch lib.opam file lib/lib.ml
|
||||
$ cat >lib/dune <<EOF
|
||||
> (library (name lib) (public_name lib))
|
||||
> (copy_files (files ../file))
|
||||
> EOF
|
||||
$ dune build --root .
|
||||
Loading…
Add table
Add a link
Reference in a new issue