Welcome to dune’s documentation!¶
- Quickstart
- Building a hello world program
- Building a hello world program using Lwt
- Building a hello world program using Core and Jane Street PPXs
- Defining a library using Lwt and ocaml-re
- Setting the OCaml compilation flags globally
- Using cppo
- Defining a library with C stubs
- Defining a library with C stubs using pkg-config
- Using a custom code generator
- Defining tests
- Building a custom toplevel
- Overview
- Terminology
- Project Layout and Metadata Specification
- dune files
- Executables
- Writing and running tests
- Dealing with foreign libraries
- Generating Documentation
- Installing packages on the system
- Usage
- Initializing components
- Finding the root
- Interpretation of targets
- Finding external libraries
- Running tests
- Watch mode
- Launching the Toplevel (REPL)
- Restricting the set of packages
- Invocation from opam
- Tests
- Workspace configuration
- Distributing Projects
- Watermarking
- dune subst
- Custom Build Directory
- Advanced topics
- Configurator
- Menhir
- js_of_ocaml
- opam
- Virtual Libraries & Variants
- Automatic formatting
- Coq
- FAQ
- Known Issues
- Migration