Files
cheatsheet-tldr/tldr/dune
2025-11-25 00:19:28 +00:00

26 lines
458 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dune
> A build system for OCaml programs.
> More information: <https://dune.readthedocs.io/en/stable/reference/cli.html>.
- 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`