References. The jbuilder documentation.
TODO As it stands this is a proof of concept, a larger set of
fields and stanzas should be supported but for this to happen a
B0_ocaml needs to exist. Also automatic jbuild file
lookup could be improved possibly even eschewing the need to write
B0.ml file at all.
val import :
unit -> unit
import ()lookup for jbuild files in the directory and direct subdirectories of the
B0.mldescription file that invokes it and represents their stanzas as build units.
val import_file :
B0.Fpath.t -> unit
import_file frepresents the stanzas in
fas build units. If
fis relative it is expressed relative to the directory of
B0.mldescription files that invokes it.
val of_file :
?log:B0.Log.level option -> B0.Fpath.t -> t B0.result
of_file freads a jbuild file from
logis used to report parse errors, for now it defaults to
val to_units :
?log:B0.Log.level option -> t -> unit
add_units jtranslate the
log is used to report errors, for now it defaults to