Build-time executables that can generate Dune include files which will compile essential end-user executables.
Published: 15 Sep 2023
DkML Install API 0.4.0
The DkML Install API lets you take the tools you know (OCaml and Opam) and well-known¹ installer generators, to generate a installer for your OCaml project.
Specifically the DkML Install API lets you take a) pre-designed packages from Opam and b) installation instructions written in OCaml source code, and assembles binary artifacts that act as the primary materials to installer generators.
The full documentation is available at https://diskuv.github.io/dkml-install-api/index.html
The OCaml module documentation is available at https://diskuv.github.io/dkml-install-api/odoc/index.html
Make sure you have Opam installed and then run:
opam install dkml-install-api
Building from Source
On Windows with Diskuv OCaml:
dkml init with-dkml opam install . --with-test --with-doc --deps-only with-dkml dune build with-dkml dune build `@doc
opam install .--with-test --with-doc --deps-only dune build dune build @doc