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,16 @@
Fatal error with opam file that is not listed in the dune-project file:
$ cat >dune-project <<EOF
> (lang dune 1.10)
> (version 1.0.0)
> (package (name bar))
> EOF
$ echo "cannot parse me" > foo.opam
$ dune build @install
File "foo.opam", line 1, characters 0-0:
Error: This opam file doesn't have a corresponding (package ...) stanza in
the dune-project file. Since you have at least one other (package ...) stanza
in your dune-project file, you must a (package ...) stanza for each opam
package in your project.
[1]