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,18 @@
This shows a difference since #8518: we set up a project with a generated opam
file. If the resulting file is not present in the repository (or if it has been
renamed to just `opam` as in this example), we now fail.
A related issue happens when `pkg.opam` exists but is not up to date. The
instruction in the opam file would previously consider the original version but
will overwrite `pkg.opam`. Now it does not update the file.
$ cat > dune-project << EOF
> (lang dune 1.10)
> (generate_opam_files)
> (package
> (name pkg))
> EOF
$ touch opam
$ dune build -p pkg @install