drom
The drom tool is a wrapper over opam/dune in an attempt to provide a cargo-like user experience. It can be used to create full OCaml projects with sphinx and odoc documentation. It has specific knowledge of Github and will generate files for Github Actions CI and Github pages.
- Website: https://ocamlpro.github.io/drom
- General Documentation: https://ocamlpro.github.io/drom/sphinx
- API Documentation: https://ocamlpro.github.io/drom/doc
- Sources: https://github.com/ocamlpro/drom
Simple Example
You can create a new OCaml project with:
$ drom new my-client --skeleton mini_prg
Creating project "my-client" with skeleton "mini_prg", license "LGPL2"
and sources in src/my-client:
Creating directory my-client
Using skeleton "program" for package "my-client"
[master (root-commit) 8d83262] Initial commit
βββ my-client/
βββ .drom (drom state, do not edit)
βββ .github/
β βββ workflows/
β βββ workflow.yml
βββ .gitignore
βββ CHANGES.md
βββ LICENSE.md
βββ Makefile
βββ README.md
βββ drom.toml <ββββββββββ project config EDIT !
βββ dune
βββ dune-project
βββ opam/
β βββ my-client.opam
βββ scripts/
β βββ after.sh
β βββ before.sh
β βββ copy-bin.sh
βββ src/
βββ my-client/
βββ dune
βββ main.ml
βββ package.toml <ββββββββββ package config EDIT !
βββ version.mlt
This project uses the minimalist mini_prg
skeleton, but other skeletons
like program
or library
have more files.