This repository provides templates to help you start an OCaml project. It can be used to create multiple libraries, multiple executables, and test suites.
The project is structured as a collection of mostly self-contained subprojects, each with its source code and tests.
Requirements: opam, git, make, dune.
git clone https://github.com/mjambon/dune-startercp -a dune-starter/proj foobar,
cd foobar && git init && git add .make setup
to install the missing Opam packages, make to build the project,
make test, make install, make uninstall, make clean.
Consult the project's readme (proj/README.md) for more info.proj, sub1 and sub2 by your own names.
Rename, throw away, and add files as needed.Thanks to the authors of dune and @rgrinberg in particular for this great tool!
OCaml
60.4%
Dune
24.6%
Makefile
14.0%
Standard ML
1.1%
This repository provides templates to help you start an OCaml project. It can be used to create multiple libraries, multiple executables, and test suites.
The project is structured as a collection of mostly self-contained subprojects, each with its source code and tests.
Requirements: opam, git, make, dune.
git clone https://github.com/mjambon/dune-startercp -a dune-starter/proj foobar,
cd foobar && git init && git add .make setup
to install the missing Opam packages, make to build the project,
make test, make install, make uninstall, make clean.
Consult the project's readme (proj/README.md) for more info.proj, sub1 and sub2 by your own names.
Rename, throw away, and add files as needed.Thanks to the authors of dune and @rgrinberg in particular for this great tool!
OCaml
60.4%
Dune
24.6%
Makefile
14.0%
Standard ML
1.1%