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,15 @@
If two packages are available and no (package) is present, an error message is
displayed. This can happen for:
- (documentation)
$ dune build
File "dune", line 1, characters 0-15:
1 | (documentation)
^^^^^^^^^^^^^^^
Error: I can't determine automatically which package this stanza is for.
I have the choice between these ones:
- pkg1 (because of pkg1.opam)
- pkg2 (because of pkg2.opam)
You need to add a (package ...) field to this (documentation) stanza.
[1]

View file

@ -0,0 +1,2 @@
(executable
(public_name an_executable))

View file

@ -0,0 +1,15 @@
If two packages are available and no (package) is present, an error message is
displayed. This can happen for:
- (executable)
$ dune build
File "dune", lines 1-2, characters 0-41:
1 | (executable
2 | (public_name an_executable))
Error: I can't determine automatically which package this stanza is for.
I have the choice between these ones:
- pkg1 (because of pkg1.opam)
- pkg2 (because of pkg2.opam)
You need to add a (package ...) field to this (executable) stanza.
[1]

View file

@ -0,0 +1,3 @@
(install
(section etc)
(files file.conf))

View file

@ -0,0 +1,16 @@
If two packages are available and no (package) is present, an error message is
displayed. This can happen for:
- (install)
$ dune build
File "dune", lines 1-3, characters 0-43:
1 | (install
2 | (section etc)
3 | (files file.conf))
Error: I can't determine automatically which package this stanza is for.
I have the choice between these ones:
- pkg1 (because of pkg1.opam)
- pkg2 (because of pkg2.opam)
You need to add a (package ...) field to this (install) stanza.
[1]