snippetbashTip
dune — A build system for OCaml programs. More information: <https://dune.readthedocs.io/en/stable/referenc
Viewed 0 times
ocamlprogramscommandbuildcliduneforsystem
Problem
How to use the
dune command: A build system for OCaml programs. More information: <https://dune.readthedocs.io/en/stable/reference/cli.html>.Solution
dune — A build system for OCaml programs. More information: <https://dune.readthedocs.io/en/stable/reference/cli.html>.Build all targets:
dune buildClean up the workspace:
dune cleanRun all tests:
dune runtestStart the utop REPL with compiled modules automatically loaded into it, to remove the need to load them by hand:
dune utopCode Snippets
Build all targets
dune buildClean up the workspace
dune cleanRun all tests
dune runtestStart the utop REPL with compiled modules automatically loaded into it, to remove the need to load them by hand
dune utopContext
tldr-pages: common/dune
Revisions (0)
No revisions yet.