dune.build Open in urlscan Pro
185.199.108.153  Public Scan

Submitted URL: http://dune.build/
Effective URL: https://dune.build/
Submission: On November 13 via api from IN — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

Jane Street Open Source
Find Dune on Github


A composable build system for OCaml

 * Install
 * Examples
 * Documentation
 * Discuss
 * Blog

Dune is a build system for OCaml projects. Using it, you can build executables,
libraries, run tests, and much more.

DUNE KNOWS OCAML AND ITS ECOSYSTEM

Dune has rules that precisely capture how the OCaml toolchain works. It is able
to interoperate with most of the existing tools like OPAM, merlin, reason, and
js_of_ocaml.

DUNE IS FAST

Dune works hard to do things once and in parallel, so both cold and incremental
builds are way faster than traditional build systems.

DUNE IS WIDELY USED

Dune is used in both large projects and small libraries. About 40% of OPAM
packages are built using Dune.

DUNE-PROJECT

(lang dune 3.6)


DUNE

(executable
 (name hello_world)
 (libraries lwt.unix))


HELLO_WORLD.ML

Lwt_main.run (Lwt_io.printf "Hello, world!\n")


YOUR SHELL

$ dune exec ./hello_world.exe
Hello, world!


Note: Dune uniformly uses the .exe extension to build native executables, even
on Unix where programs don’t usually have a .exe extension.


CONTRIBUTE

Help shape the future of Dune by joining our community today and send us pull
requests via our GitHub repository!


LEARN

 * Documentation - Get started & learn more
 * Github - Browse source, file and discuss issues