B0camlb0caml support.
module Exit : sig ... endb0caml exit codes.
module Env : sig ... endb0caml environment variables.
module Conf : sig ... endb0caml configuration.
module Err : sig ... endb0caml error messages.
val get_script_file :
Conf.t ->
string ->
(B0_std.Fpath.t, string) Stdlib.resultget_script_file c file is the absolute paths to script file.
val script_build_dir : Conf.t -> script_file:B0_std.Fpath.t -> B0_std.Fpath.tscript_build_dir c ~script_file is a build directory in the cache directory of c for script ~script_file.
script_build_log ~build_dir is a build log file in build_dir.
val get_script : Conf.t -> string -> (B0caml_script.t, string) Stdlib.resultget_script c file parses a script from file file in configuration c.
val get_source : Conf.t -> B0caml_script.t -> (string, string) Stdlib.resultget_source c s is the final source of script s in configuration c, determined via Script source.
val compile_script :
Conf.t ->
B0caml_script.t ->
(B0_std.Fpath.t, string) Stdlib.resultcompile_script c s compiles script s to an executable.