links-lang / links

Links: Linking Theory to Practice for the Web
http://www.links-lang.org
Other
333 stars 43 forks source link

Use Dune to generate OPAM package definitions #1191

Closed dhil closed 1 year ago

dhil commented 1 year ago

This patch moves the definitions of our OPAM packages into the file dune-project. The OPAM package definitions are automatically generated from this file. This approach offers some advantages:

Our build rules for the links package are a little more complicated than dune supports out-of-the-box. The steps required to build this package are defined in the links.opam.template file, which dune automatically pastes into the generated links.opam file.

dhil commented 1 year ago

I fixed the minimum required version of OCaml to 4.14.0, as that seems to be the minimum version with which Links compiles at the moment.