Topkg_conf
Build configuration
See Topkg.Conf
.
val conv :
?docv:string ->
(string -> 'a Topkg_result.result) ->
(Stdlib.Format.formatter -> 'a -> unit) ->
'a conv
val conv_parser : 'a conv -> string -> 'a Topkg_result.result
val conv_printer : 'a conv -> Stdlib.Format.formatter -> 'a -> unit
val conv_docv : 'a conv -> string
val bool : bool conv
val int : int conv
val string : string conv
val fpath : Topkg_fpath.t conv
val discovered_key :
?docv:string ->
?doc:string ->
?env:string ->
string ->
'a conv ->
absent:(unit -> 'a Topkg_result.result) ->
'a key
val with_pkg : ?default:bool -> string -> bool key
val empty : t
val dump : Stdlib.Format.formatter -> t -> unit
val of_cli_args :
pkg_name:string ->
build_dir:Topkg_fpath.t ->
string list ->
t Topkg_result.result
val pkg_name : t -> string
val build_dir : t -> Topkg_fpath.t
val vcs : t -> bool
val pinned : t -> bool
val dev_pkg : t -> bool
val jobs : t -> int
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 tool : ?conf:t -> string -> os -> Topkg_cmd.t
module OCaml : sig ... end