package functoria

  1. Overview
  2. Docs

Dune files.

type stanza
val stanza : string -> stanza
val stanzaf : ('a, Stdlib.Format.formatter, unit, stanza) Stdlib.format4 -> 'a
type t
val v : stanza list -> t
val pp : t Fmt.t
val to_string : t -> string
val compact_list : ?indent:int -> string -> string list Fmt.t
val base : packages:Package.t list -> name:string -> version:string -> config_ml_file:Fpath.t -> t

base is a minimal dune file able to build config.ml

val base_project : stanza list

the minimal dune-project to compile config.ml.

val base_workspace : t

the minimal dune-workspace to compile config.ml.

OCaml

Innovation. Community. Security.