mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
458 B
Plaintext
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`
|