2025-03-14 21:59:59 -06:00
|
|
|
# dune
|
|
|
|
|
|
|
|
|
|
> A build system for OCaml programs.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://dune.readthedocs.io/en/stable/reference/cli.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Build all targets:
|
|
|
|
|
|
|
|
|
|
`dune build`
|
|
|
|
|
|
|
|
|
|
- Clean up the workspace:
|
|
|
|
|
|
|
|
|
|
`dune clean`
|
|
|
|
|
|
|
|
|
|
- Run all tests:
|
|
|
|
|
|
|
|
|
|
`dune runtest`
|
|
|
|
|
|
|
|
|
|
- Start the utop REPL with compiled modules automatically loaded into it, to remove the need to load them by hand:
|
|
|
|
|
|
|
|
|
|
`dune utop`
|