Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 521

When exactly does dune generate .opam-files?

$
0
0

In the documentation on generating .opam files, it says

dune will generate .opam files if the dune-project file

  • sets (generate_opam_files true) , and
  • declares one or more packages as per, Declaring a package.

For a build I’m setting up, I would need dune to generate the .opam file, from the specification in dune-project, in order to afterwards run opam install ., after which the actual package can be built with dune build.

But what actually triggers generating the .opam file? Can dune just generate that file, and then exit?

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles