Template for OCaml project using Dune build system. Appropriate for small ~ middle size project. It contains simple integer calculator example.
-
Clone and remove following directories & files.
- .git/
- benchmarks/
- LICENSE
- README.md
-
Modify other files as you want.
Run below commands at the root directory of the project.
dune build
dune exec -- src/main.exe -help
dune exec -- src/main.exe -input benchmarks/hello.txt -hello -debug