Module Topkg.Conf

type 'a conv
val conv : ?docv:string -> (string -> 'a result) -> (Format.formatter -> 'a -> unit) -> 'a conv
val bool : bool conv
val int : int conv
val string : string conv
val fpath : fpath conv
val some : ?none:string -> 'a conv -> 'a option conv
type 'a key
val key : ?docv:string -> ?doc:string -> ?env:string -> string -> 'a conv -> absent:'a -> 'a key
val discovered_key : ?docv:string -> ?doc:string -> ?env:string -> string -> 'a conv -> absent:(unit -> 'a result) -> 'a key
val with_pkg : ?default:bool -> string -> bool key
type t
val value : t -> 'a key -> 'a
val pkg_name : t -> string
val build_dir : t -> fpath
val vcs : t -> bool
val dev_pkg : t -> bool
val pinned : t -> bool
val jobs : t -> int
type build_context = [
  1. | `Dev
  2. | `Distrib
  3. | `Pin
]
val build_context : t -> [ `Dev | `Distrib | `Pin ]
val build_tests : t -> bool
val debug : t -> bool
val debugger_support : t -> bool
val profile : t -> bool
val toolchain : t -> string option
val dump : Format.formatter -> t -> unit
type os = [
  1. | `Build_os
  2. | `Host_os
]
val tool : ?conf:t -> string -> os -> Cmd.t
module OCaml : sig ... end