OCaml Packaging With Topkg and OPAM
- POST
Dependencies First and foremost, you must have OPAM installed. Then you need to install the following packages:
$ opam install topkg topkg-care topkg-jbuilder Boilerplate Code Given you have your library tested and ready for publishing, you need to add the files ppx_getenv01.opam and pkg/pkg.ml at the top:
The OPAM file (ppx_getenv01.opam):
opam-version: "1.2" name: "ppx_getenv01" maintainer: "Viet Le <XXXX@gmail.com>" authors: "Viet Le <XXXX@gmail.com>" homepage: "https://github.com/vietlq/ppx_getenv01" bug-reports: "https://github.com/vietlq/ppx_getenv01/issues" license: "MIT" dev-repo: "https://github.