B0caml.Confb0caml configuration.
val comp_target_of_string : string -> (comp_target, string) Stdlib.resultcomp_target_of_string s parses a compilation target from s.
val make :
cache_dir:B0_std.Fpath.t ->
comp_target:comp_target ->
cwd:B0_std.Fpath.t ->
ocamlpath:B0caml_ocamlpath.t ->
unit ->
tv constructs a configuration with the given attributes. See the corresponding accessors for details.
val cache_dir : t -> B0_std.Fpath.tcache_dir c is the cache directory.
val b0_cache_dir : t -> B0_std.Fpath.tb0_cache_dir c is the b0 cache directory.
val comp_target : t -> comp_targetcomp_target c is the target to which scripts are compiled.
val cwd : t -> B0_std.Fpath.tcwd c is the current working directory w.r.t. relative configuration file paths are expressed.
val ocamlpath : t -> B0caml_ocamlpath.tocamlpath is the OCAMLPATH to consider.
val memo : t -> B0_std.Fpath.t -> (B0_memo.t, string) Stdlib.resultmemo c script is the memoizer for the configuration and script script.
val of_cli : unit -> (t, string) Stdlib.result Cmdliner.Term.tof_cli is a configuration command line interaface. This setups logging by side-effect.
val of_env : unit -> (t, string) Stdlib.resultof () is an configuration read from the environments. This setups logging by side-effect.