dune
dune copied to clipboard
A composable build system for OCaml.
## Context Build of a package for an ocaml product, where the source tarball gets unpacked in a build tree inside a git-managed tree. In our case it is a...
## Desired Behavior While building packages dune should print a message when a bash script fails to run due to the script using the commonly-used but non-portable shebang: `!#/bin/bash` `/bin/bash`...
[Ocamlformat 0.25.0](https://github.com/ocaml-ppx/ocamlformat/releases/tag/0.25.0) added support for .mld files (https://github.com/ocaml-ppx/ocamlformat/pull/2008). Currently, `dune fmt` won't run ocamlformat on `.mld` files. If the user is using a version of ocamlformat that supports it (>...
Fixes #11584 and should ease the pain of (but does NOT fix) #11585. The build cache is currently set up to be at `$DUNE_CACHE_ROOT`, which itself will default on `$XDG_CACHE_HOME`...
Hi, The current toolchains implementation cannot be cached the first time. Suppose that we have a project with a lock dir, the shared cache is enabled (not just for user...
Opam repositories do not need to conform to the directory hierarchy convention set by opam-repository. This is documented in [opam's manual](https://opam.ocaml.org/doc/1.2/Manual.html#Layout). However dune makes some assumptions that all opam repos...
Hi, The toolchains cache is at the moment separate from the location of the shared dune cache. This can lead to confusing behavior. For example, suppose if a CI configures...
In this PR we remove all uses of `Pp.newline`. We should avoid using `Pp.newline` since it will simply insert a newline character in the underlying formatting engine and this doesn't...
As a follow-up/replacement of #11555 this PR displays an warning if the package to be locked is declared in `dune-project` but has no dependencies. I could imagine an additional step...
The way the test is implemented, the code testing dune is always calling the (outside, Dune unter test) via its absolute path. This change, extracted from #12902 calls Dune via...