File: index.md

package info (click to toggle)
ocaml-dune 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 37,948 kB
  • sloc: ml: 189,514; asm: 28,570; ansic: 15,173; sh: 1,448; lisp: 625; makefile: 160; python: 143; cpp: 48; javascript: 10
file content (36 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
author: Etienne Millon
---

Developing with Dune
====================

:::{warning}
This tutorial is a work in progress.
:::

In this tutorial, will start with a small Dune project, and extend it by using
common features:

- the {doc}`/reference/dune/executable`, {doc}`/reference/dune/library`, and
  {doc}`/reference/dune/test` {term}`stanzas <stanza>`;
- {doc}`cram </reference/cram>` tests;
- bindings to C code using {doc}`foreign stubs </reference/foreign-stubs>`;
- using a [ppx deriver](https://ocaml.org/docs/metaprogramming).

By doing so, you'll interact with `dune runtest` and `dune promote`, and will
use the most common {term}`stanzas <stanza>` in Dune files.

Start the tutorial with the {doc}`introduction`.

:::{toctree}
:hidden:
:maxdepth: 1
introduction
structure
development-cycle
interfacing-with-c
using-ppx
unit-tests
conclusion
:::