Module Brzo_ocaml_conf

Brzo OCaml domain configuration.

type target = [
| `Byte
| `Html
| `Native
| `Node
]

The type for OCaml compilation targets.

val target_to_string : target -> string

target_to_string t is t as a string token.

type t

The type for OCaml brzo configuration.

val target : t -> target option
val dep_dirs : t -> B0_std.Fpath.t list
val deps : t -> B0_std.Fpath.t list
val lock_deps : t -> bool
val default_target : default_native_if:B00.Tool.t -> B00.Memo.t -> t -> target
val conf_cli : t Cmdliner.Term.t
val conf_file : B0_std.String.Set.t * t B0_serialk_sexp.Sexpq.t
val conf : cli:t option -> file:t option -> t