How-to Guides¶
These guides will help you use Dune’s features in your project.
- How to Install Dune
- How to Set up Automatic Formatting
- How to Generate Opam Files from
dune-project - Cross-Compilation
- Dealing with Foreign Libraries
- Generating Documentation
- How to Load Additional Files at Runtime
- Instrumentation
- JavaScript Compilation With Js_of_ocaml
- Wasm Compilation With Wasm_of_ocaml
- JavaScript Compilation With Melange
- Virtual Libraries
- Writing and Running Tests
- How to Bundle Resources
- How to Load a Project in a Toplevel
- Using Rule Generation
- How to Override the Default C Entrypoint With C Stubs
- How to Release a Binary Distribution of an Application on Github with Dune
- How to make a Homebrew Package with Dune
- How to Use Opam Alongside Dune Package Management
- How to Configure Editors with Package Management
- How to Customize Lock Directories of Developer Tools