Module Brzo.Conf
Configuration.
Configuration bits
module Bit : sig ... endConfiguration bits.
Default file names
Configuration
type outcome_mode=[|`Action|`Build|`Conf|`Delete|`Normal|`Path]The type for outcome modes.
type domain=|Domain : (module Pre_domain.T with type Conf.t = 'a) * string * 'a -> domainThe type for domain configurations. The pre-domain, its configured outcome name and its configuration value.
val v : 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 -> jobs:int option -> log_file:B0_std.Fpath.t -> log_level:B0_std.Log.level -> no_pager:bool -> outcome_mode:outcome_mode -> 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 -> tty_cap:B0_std.Tty.cap -> www_browser:B0_std.Cmd.t option -> unit -> tvconstructs a configuration with given attributes. See the accessors for semantics.
val action_args : t -> string listaction_argsare the outcome action arguments.
val background : t -> boolbackgroundistrueif external viewers should be launched in the background.
val brzo_file : t -> B0_std.Fpath.t optionbrzo_fileis the absolute path to the brzo file found at the root (if any).
val b0_dir : t -> B0_std.Fpath.tb0_diris the absolute path to the b0 dir.
val cache_dir : t -> B0_std.Fpath.tcache_diris the absolute path to the cache directory.
val cwd : t -> B0_std.Fpath.tcwdis the absolute path to the current working directoy.
val domain_name : t -> string optiondomain_nameis 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 dis the configuration for pre-domaind(if any). This is the domain's selected outcome and its configuration.
val log_file : t -> B0_std.Fpath.tlog_fileis the absolute path to the build log file.
val log_level : t -> B0_std.Log.levellog_levelis the desired log level.
val jobs : t -> intjobsis the maximal number of spawns allowed.
val memo : t -> (B00.Memo.t, string) Stdlib.resultmemois the memoizer for the configuration.
val no_pager : t -> boolno_pagerindicates no paging is desired on stdout.
val outcome_mode : t -> outcome_modeoutcomeis the build outcome mode.
val root : t -> B0_std.Fpath.trootis absolute path to the brzo root.
val pdf_viewer : t -> B0_std.Cmd.t optionpdf_vieweris the PDF viewer command.
val srcs_i : t -> B0_std.Fpath.Set.tsrcs_iare absolute prefixes to include.
val srcs_x : t -> B0_std.Fpath.Set.tsrcs_xare absolute prefixes to exclude.
val srcs : t -> (B0_fexts.map, string) Stdlib.resultsrcs care the absolute source files path in configurationcsorted by file extension.
val tty_cap : t -> B0_std.Tty.captty_cap cis the terminal capability to assume for output.
val www_browser : t -> B0_std.Cmd.t optionwww_browseris the WWW browser command to use.
val pp_auto : 'a B0_std.Fmt.t -> 'a option B0_std.Fmt.tpp_auto ppformats"<auto>"forNoneand the value withppotherwise.
val pp : t B0_std.Fmt.tppformats configurations. Does not format domain specific configuration.