Brzo.ConfConfiguration.
module Bit : sig ... endConfiguration bits.
brzo_dir_name is "brzo" the default brzo directory name in the b0 directory.
The type for outcome modes.
The type for domain configurations. The pre-domain, its configured outcome name and its configuration value.
val make :
action_args:string list ->
background:bool ->
b0_dir:B0_std.Fpath.t ->
brzo_file:B0_std.Fpath.t option ->
cache_dir:B0_std.Fpath.t ->
cwd:B0_std.Fpath.t ->
domain_name:string option ->
domain_confs:domain list ->
hash_fun:(module B0_hash.T) ->
jobs:int ->
log_file:B0_std.Fpath.t ->
no_pager:bool ->
outcome_mode:outcome_mode ->
output_outcome_path:bool ->
pdf_viewer:B0_std.Cmd.t option ->
root:B0_std.Fpath.t ->
srcs_i:B0_std.Fpath.Set.t ->
srcs_x:B0_std.Fpath.Set.t ->
web_browser:B0_std.Cmd.t option ->
unit ->
tv constructs a configuration with given attributes. See the accessors for semantics.
val action_args : t -> string listaction_args are the outcome action arguments.
val background : t -> boolbackground is true if external viewers should be launched in the background.
val brzo_file : t -> B0_std.Fpath.t optionbrzo_file is the absolute path to the brzo file found at the root (if any).
val b0_dir : t -> B0_std.Fpath.tb0_dir is the absolute path to the b0 dir.
val cache_dir : t -> B0_std.Fpath.tcache_dir is the absolute path to the cache directory.
val cwd : t -> B0_std.Fpath.tcwd is the absolute path to the current working directoy.
val domain_name : t -> string optiondomain_name is the name of the running domain (if any).
val domain_conf :
t ->
(module Pre_domain.T with type Conf.t = 'a) ->
(string * 'a) optiondomain_conf c d is the configuration for pre-domain d (if any). This is the domain's selected outcome and its configuration.
val log_file : t -> B0_std.Fpath.tlog_file is the absolute path to the build log file.
val hash_fun : t -> (module B0_hash.T)hash_fun is the hash function to use for build caching.
val jobs : t -> intjobs is the maximal number of spawns allowed.
val memo : t -> (B0_memo.t, string) Stdlib.resultmemo is the memoizer for the configuration.
val no_pager : t -> boolno_pager indicates no paging is desired on stdout.
val outcome_mode : t -> outcome_modeoutcome is the build outcome mode.
val output_outcome_path : t -> booloutput_outcome_path is true if the outcome path should be output at the end of the build.
val root : t -> B0_std.Fpath.troot is absolute path to the brzo root.
val pdf_viewer : t -> B0_std.Cmd.t optionpdf_viewer is the PDF viewer command.
val srcs_i : t -> B0_std.Fpath.Set.tsrcs_i are absolute prefixes to include.
val srcs_x : t -> B0_std.Fpath.Set.tsrcs_x are absolute prefixes to exclude.
val srcs : t -> (B0_file_exts.map, string) Stdlib.resultsrcs c are the absolute source files path in configuration c sorted by file extension.
val web_browser : t -> B0_std.Cmd.t optionweb_browser is the WWW browser command to use.
pp_auto pp formats "<auto>" for None and the value with pp otherwise.
val pp : t B0_std.Fmt.tpp formats configurations. Does not format domain specific configuration.