generate_opam_files¶
- (generate_opam_files ...)
Added in version 1.10.
Use metadata specified in the
dune-projectfile to generate.opamfiles.To enable this integration, add the following field to the
dune-projectfile:(generate_opam_files)
With this field, every time one calls Dune to execute some rules (either via
dune build, dune runtest, or something else), the opam files get
generated.
To add opam fields not directly supported by dune-project, you can use
<package-name>.opam.template files (see Packages).