| ($) [As_conf] | |
| ($) [Assemblage.Conf] | f $ v is app f v.
|
| (&&&) [As_conf] | |
| (&&&) [Assemblage.Conf] | a &&& b is const ( && ) $ a $ b.
|
| (+) [As_path.Abs] | |
| (+) [As_path.Rel] | |
| (+) [As_path] | |
| (+) [Assemblage.Path.Abs] |
See
Assemblage.Path.(+).
|
| (+) [Assemblage.Path.Rel] |
See
Assemblage.Path.(+).
|
| (+) [Assemblage.Path] | p + ext is add_ext p e.
|
| (/) [As_path.Abs] | |
| (/) [As_path.Rel] | |
| (/) [As_path] | |
| (/) [Assemblage.Path.Abs] |
See
Assemblage.Path.(/).
|
| (/) [Assemblage.Path.Rel] |
See
Assemblage.Path.(/).
|
| (/) [Assemblage.Path] | p / c is add p c.
|
| (/) [Assemblage] | path / seg is Conf.(const Path.( / ) $ path $ const seg).
|
| (//) [As_path.Abs] | |
| (//) [As_path.Rel] | |
| (//) [As_path] | |
| (//) [Assemblage.Path.Abs] |
See
Assemblage.Path.(//).
|
| (//) [Assemblage.Path.Rel] |
See
Assemblage.Path.(//).
|
| (//) [Assemblage.Path] | p // p' is concat p p'.
|
| (//) [Assemblage] | path // rel is Conf.(const Path.( // ) $ path $ rel).
|
| (=+=) [Makefile.Infix] | ( =+= ) is Makefile.Infix.(=+=).
|
| (=+=) [Makefile] | v =+= def is v += def.
|
| (=::=) [Makefile.Infix] | ( =::= ) is Makefile.Infix.(=::=).
|
| (=::=) [Makefile] | v =::= def is v ::= def.
|
| (=:=) [Makefile.Infix] | ( =:= ) is Makefile.Infix.(=:=).
|
| (=:=) [Makefile] | v =:= def is v := def.
|
| (===) [Makefile.Infix] | ( === ) is Makefile.Infix.(===).
|
| (===) [Makefile] | v === def is v = def.
|
| (=?=) [Makefile.Infix] | ( =?= ) is Makefile.Infix.(=?=).
|
| (=?=) [Makefile] | v =+= def is v += def.
|
| (>>=) [As_cmd.Infix] | |
| (>>=) [As_cmd] | |
| (>>=) [Assemblage.Cmd.Infix] | (>>=) is Assemblage.Cmd.(>>=).
|
| (>>=) [Assemblage.Cmd] | r >>= f is bind r f.
|
| (>>|) [As_cmd.Infix] | |
| (>>|) [As_cmd] | |
| (>>|) [Assemblage.Cmd.Infix] | (>>|) is Assemblage.Cmd.(>>|).
|
| (>>|) [Assemblage.Cmd] | r >>| f is map r f.
|
| (@@@) [As_args] | |
| (@@@) [Assemblage.Args] | a @@@ a' is append a a'.
|
| (|||) [As_conf] | |
| (|||) [Assemblage.Conf] | a &&& b is const ( || ) $ a $ b.
|
A | |
| abs_path [As_conf] | |
| abs_path [Assemblage.Conf] | path converts value with Assemblage.Path.of_string.
|
| actions [As_part] | |
| actions [Assemblage.Part] | actions p are the actions to build part p.
|
| add [As_path.Abs] | |
| add [As_path.Rel] | |
| add [As_path] | |
| add [As_conf] | |
| add [As_acmd.Args] | |
| add [Assemblage.Private.Conf] | add c k is c with k bindings to its default value.
|
| add [Assemblage.Acmd.Args] | add v l is v :: l.
|
| add [Assemblage.Path.Abs] |
See
Assemblage.Path.add.
|
| add [Assemblage.Path.Rel] |
See
Assemblage.Path.add.
|
| add [Assemblage.Path] | add p seg concatenates seg at the end of p.
|
| add_cmds [As_action] | |
| add_ctx_args [As_action] | add_ctx_args ctx args t adds context ctx and argument bundle args
to t.
|
| add_ext [As_path.Abs] | |
| add_ext [As_path.Rel] | |
| add_ext [As_path] | |
| add_ext [Assemblage.Path.Abs] | |
| add_ext [Assemblage.Path.Rel] | |
| add_ext [Assemblage.Path] | add_ext p ext is p with ext concatenated to p's last segment.
|
| add_if [As_acmd.Args] | |
| add_if [Assemblage.Acmd.Args] | add_if c v l is add v l if c is true and l otherwise.
|
| adds [As_acmd.Args] | |
| adds [Assemblage.Acmd.Args] | adds l l' adds l in front of l'.
|
| adds_if [As_acmd.Args] | |
| adds_if [Assemblage.Acmd.Args] | adds_if c l l' if adds l l' if c is true and l' otherwise.
|
| all [As_part_dir] | |
| all [Assemblage.Dir] | all is a specifier that keeps any product of any part.
|
| all_input [As_part_dir] | |
| all_input [Assemblage.Dir] | all_input is a specifier that keeps any input product of any part.
|
| all_output [As_part_dir] | |
| all_output [Assemblage.Dir] | all_output is a specifier that keeps any output product of any part.
|
| app [As_conf] | |
| app [Assemblage.Conf] | app f v is a configuration value that evaluates to the result
of applying the evaluation of v to the one of f.
|
| append [As_args] | |
| append [Assemblage.Args] | append a a' is the bundle that has the bindings of a and
a'.
|
| archive_byte [As_action_ocaml] | |
| archive_c [As_action_ocaml] | |
| archive_native [As_action_ocaml] | |
| archive_shared [As_action_ocaml] | |
| args [As_project] | |
| args [As_part] | |
| args [As_action] | |
| args [As_acmd] | |
| args [Assemblage.Private.Project] | args p is p's args.
|
| args [Assemblage.Private.Part] | args p is p's user defined argument bundle.
|
| args [Assemblage.Private.Action] | args a is a's argument bundle.
|
| args [Assemblage.Private.Acmd] | args c are c's arguments.
|
| args_with_ctx [As_acmd] | |
| args_with_ctx [Assemblage.Private.Acmd] | args_with_ctx conf context args cmd are c's arguments
prepended with the arguments found in args for the
configuration conf and the context Assemblage.Private.Acmd.ctxcontext c.
|
| assemble [As_project] | |
| assemble [Assemblage] | assemble p registers p for assembling by an assemblage driver.
|
B | |
| base [As_path.Rel] | |
| base [As_path] | |
| base [Assemblage.Path.Rel] | base name is add empty f.
|
| base [Assemblage.Path] | base name is add empty f.
|
| basename [As_path.Abs] | |
| basename [As_path.Rel] | |
| basename [As_path] | |
| basename [Assemblage.Path.Abs] | |
| basename [Assemblage.Path.Rel] | |
| basename [Assemblage.Path] | basename p is the basename of p.
|
| bin [As_part_run] | |
| bin [As_part_dir] | |
| bin [Assemblage.Run] | bin bin args is like Assemblage.Run.with_bin but directly executes the binary
with args and redirects its outputs as specified.
|
| bin [Assemblage.Dir] | bin is Assemblage.Dir.all_output except in the following cases:
For `Bin parts of kind `OCaml keeps only one of the
byte and native code executable without its extension. If
both are available favors native code over byte code., For `Bin parts of kind `C keeps only the part's
executable.
|
| bin [Assemblage] |
See
Assemblage.Bin.v.
|
| bind [As_cmd] | |
| bind [Assemblage.Cmd] | bind r f is f v if r = `Ok v and r if r = `Error _.
|
| bool [As_conf] | |
| bool [Assemblage.Conf] | bool converts values with bool_of_string.
|
| build_dir [As_conf] | |
| build_dir [Assemblage.Conf] | build_dir is the path to the build directory expressed relative to the
Assemblage.Conf.root_dir (defaults to "_build").
|
| byte [As_part_lib] | |
| byte [As_part_bin] | |
| byte [Assemblage.Bin] | byte p is true if p can compile to OCaml byte code.
|
| byte [Assemblage.Lib] | byte p is true if p can compile to OCaml byte code.
|
C | |
| c [As_part_unit] | |
| c [As_part_lib] | |
| c [As_part_bin] | |
| c [Assemblage.Bin] | c p is Some p iff p is an `C binary.
|
| c [Assemblage.Lib] | c p is Some p iff p is a `C library.
|
| c [Assemblage.Unit] | c p is Some p iff p is a C compilation unit.
|
| c_dynlink [As_conf] | |
| c_dynlink [Assemblage.Conf] | c_dynlink is true iff C dynamic linking compilation is
requested (default to true).
|
| c_js [As_conf] | |
| c_js [Assemblage.Conf] | c_js is true iff C JavaScript compilation is request (defaults
to false).
|
| cat [As_conf] | |
| cat [Assemblage.Conf] | |
| cc [As_conf] | |
| cc [Assemblage.Conf] | cc is the C compiler (defaults to "cc")
|
| cclib [As_args] | |
| cclib [Assemblage.Args] |
The
-cclib x args.
|
| ccopt [As_args] | |
| ccopt [Assemblage.Args] |
The
-ccopt x args.
|
| cd [As_conf] | |
| cd [As_acmd] | |
| cd [Assemblage.Acmd] | cd has a command exec dir to change directory to dir.
|
| cd [Assemblage.Conf] | |
| change_ext [As_path.Abs] | |
| change_ext [As_path.Rel] | |
| change_ext [As_path] | |
| change_ext [Assemblage.Path.Abs] | |
| change_ext [Assemblage.Path.Rel] | |
| change_ext [Assemblage.Path] | change_ext p e is add_ext (rem_ext p).
|
| chdir [As_cmd.Dir] | |
| chdir [Assemblage.Cmd.Dir] | chdir dir changes the current working directory to dir.
|
| check [As_part] | |
| check [Assemblage.Part] | check p logs information about potential problems with p
and returns true if there is no such problem.
|
| cmd [Cmd_setup] | |
| cmd [Cmd_product] | |
| cmd [Cmd_help] | |
| cmd [Cmd_describe] | |
| cmd [Cmd_base] | |
| cmd [As_acmd] | |
| cmd [Assemblage.Acmd] | cmd name is a program whose name is the value of name.
|
| cmd_key [As_acmd] | |
| cmd_key [Assemblage.Private.Acmd] | |
| cmd_name [As_acmd] | |
| cmd_name [Assemblage.Private.Acmd] | cmd_name c is c's command name.
|
| cmd_with_project [Cmd_base] | |
| cmds [As_action] | |
| cmds [Assemblage.Action] | cmds a is a's commands to generate outputs from the inputs.
|
| coerce [As_part] | |
| coerce [Assemblage.Part] | coerce k p coerces p to kind k,
|
| coerce_if [As_part] | |
| coerce_if [Assemblage.Part] | coerce_if k p is Some if p is of kind k and
None otherwise.
|
| compare [As_path.Abs] | |
| compare [As_path.Rel] | |
| compare [As_path] | |
| compare [As_part] | |
| compare [As_conf.Key] | |
| compare [Assemblage.Private.Conf.Key] | |
| compare [Assemblage.Part] | compare p p' is compare (id p) (id p').
|
| compare [Assemblage.Path.Abs] | |
| compare [Assemblage.Path.Rel] | |
| compare [Assemblage.Path] | compare p p' is Pervasives.compare p p'.
|
| compile_c [As_action_ocaml] | |
| compile_ml_byte [As_action_ocaml] | |
| compile_ml_native [As_action_ocaml] | |
| compile_mli [As_action_ocaml] | |
| compile_src_ast [As_action_ocaml] | |
| concat [As_path.Abs] | |
| concat [As_path.Rel] | |
| concat [As_path] | |
| concat [As_args] | |
| concat [Assemblage.Args] | concat args is List.fold_left append empty args
|
| concat [Assemblage.Path.Abs] | |
| concat [Assemblage.Path.Rel] | |
| concat [Assemblage.Path] | concat p p' concatenates p' at the end of p.
|
| conf [As_project] | |
| conf [Assemblage.Private.Project] | conf p is the project's configuration.
|
| const [As_conf] | |
| const [Assemblage.Conf] | const v is a configuration value that evaluates to v.
|
| converter [As_conf.Key] | |
| converter [Assemblage.Private.Conf.Key] | converter k is k's value type converter.
|
| cp [As_conf] | |
| cp [As_acmd] | |
| cp [Assemblage.Acmd] | cp has a command exec src dst to copy file src to dst.
|
| cp [Assemblage.Conf] | |
| create [As_univ] | create () returns a function to inject and a function to project a
value from a given type in to/from a universal value.
|
| ctx [As_part] | |
| ctx [As_action] | |
| ctx [As_acmd] | |
| ctx [Assemblage.Private.Part] | |
| ctx [Assemblage.Private.Acmd] | ctx context c is context augmented with c's context.
|
| ctx [Assemblage.Action] | ctx a is a's context.
|
| cut [As_string] | cut sep s is either the pair Some (l,r) of the two
(possibly empty) substrings of s that are delimited by the first
match of the non empty separator string sep or None if sep
can't be matched in s.
|
| cut [Assemblage.String] | cut sep s is either the pair Some (l,r) of the two
(possibly empty) substrings of s that are delimited by the first
match of the non empty separator string sep or None if sep
can't be matched in s.
|
D | |
| dash [As_path.Rel] | |
| dash [As_path] | |
| dash [Assemblage.Path.Rel] |
See
Assemblage.Path.dash.
|
| dash [Assemblage.Path] | dash is the "-" relative path.
|
| debug [As_log] | |
| debug [As_conf] | |
| debug [Assemblage.Conf] | debug is true iff build products in general must support debugging
(defaults to false).
|
| debug [Assemblage.Log] | debug info ... logs a message with level Debug.
|
| def [As_conf] | |
| def [Assemblage.Conf] | def k v is a definition that binds key k to value v.
|
| default [As_part_doc] | |
| default [As_conf.Key] | |
| default [Assemblage.Private.Conf.Key] | default k is k's default value.
|
| default [Assemblage.Doc] | default is a part filter that selects only OCaml units whose
Assemblage.Unit.ocaml_interface is not `Hidden.
|
| defv [As_conf] | |
| defv [Assemblage.Conf] | defv k v is a definition that binds key k to value v.
|
| delete [As_cmd.File] | |
| delete [Assemblage.Cmd.File] | delete ~maybe file deletes file file.
|
| deps [As_project] | |
| deps [As_part] | |
| deps [As_conf] | |
| deps [As_args] | |
| deps [Assemblage.Private.Project] | deps p is the set of configuration keys which may be needed
for evaluating the constituents of p.
|
| deps [Assemblage.Private.Part] | deps a is the set of configuration keys which may be needed
for evaluating a.
|
| deps [Assemblage.Private.Args] | deps a is the set of configuration keys which may be needed
for evaluating the constituents of a.
|
| deps [Assemblage.Private.Conf] | deps v is the set of configuration keys which may be needed
for evaluating v.
|
| describe [As_cmd.Vcs] | |
| describe [Assemblage.Cmd.Vcs] | describe dirty d vcs identifies the HEAD commit using
tags from the VCS vcs in directory d.
|
| dev [As_part_doc] | |
| dev [Assemblage.Doc] | dev is part filter that select any kind of OCaml unit.
|
| dev_null [As_cmd.File] | |
| dev_null [As_acmd] | |
| dev_null [Assemblage.Acmd] | dev_null is a file that discards all writes.
|
| dev_null [Assemblage.Cmd.File] | dev_null represents a file that discards all writes.
|
| dir [As_part_unit] | |
| dir [Assemblage.Unit] | dir u is the directory where the unit u is located.
|
| dir [Assemblage] |
See
Assemblage.Dir.v.
|
| dirname [As_path.Abs] | |
| dirname [As_path.Rel] | |
| dirname [As_path] | |
| dirname [Assemblage.Path.Abs] | |
| dirname [Assemblage.Path.Rel] | |
| dirname [Assemblage.Path] | dirname p is the dirname of p.
|
| doc [As_part_dir] | |
| doc [As_conf.Key] | |
| doc [As_conf] | |
| doc [Assemblage.Private.Conf.Key] | doc k is k's documentation string (if any).
|
| doc [Assemblage.Dir] | doc is Assemblage.Dir.all except in the following cases:
For `Doc parts of kind `OCamldoc it is any_output.
|
| doc [Assemblage.Conf] | doc is true iff documentation should be built
(defaults to false).
|
| doc [Assemblage] |
See
Assemblage.Doc.v.
|
| doc_build_directories [As_conf] | |
| doc_build_directories [Assemblage.Private.Conf] | |
| doc_build_properties [As_conf] | |
| doc_build_properties [Assemblage.Private.Conf] | |
| doc_c_system [As_conf] | |
| doc_c_system [Assemblage.Private.Conf] | |
| doc_machine_information [As_conf] | |
| doc_machine_information [Assemblage.Private.Conf] | |
| doc_ocaml_system [As_conf] | |
| doc_ocaml_system [Assemblage.Private.Conf] | |
| doc_project [As_conf] | |
| doc_project [Assemblage.Private.Conf] | |
| doc_system_utilities [As_conf] | |
| doc_system_utilities [Assemblage.Private.Conf] | |
| docs [As_conf.Key] | |
| docs [Assemblage.Private.Conf.Key] | docs k is k's documentation section (if any).
|
| docs_build_directories [As_conf] | |
| docs_build_directories [Assemblage.Conf] | docs_build_directories is the name of the documentation section
in which build directory keys are described.
|
| docs_build_properties [As_conf] | |
| docs_build_properties [Assemblage.Conf] | docs_build_properties is the name of the documentation section
in which build property keys are described.
|
| docs_c_system [As_conf] | |
| docs_c_system [Assemblage.Conf] | docs_c_system is the name of the documentation section
in which C system keys are described.
|
| docs_machine_information [As_conf] | |
| docs_machine_information [Assemblage.Conf] | docs_machine_utilities is the name of the documentation section
in which machine information keys are described.
|
| docs_ocaml_system [As_conf] | |
| docs_ocaml_system [Assemblage.Conf] | docs_ocaml_system is the name of the documentation section
in which OCaml system keys are described.
|
| docs_project [As_conf] | |
| docs_project [Assemblage.Conf] | docs_project is the name of the documentation section
in which project keys are described.
|
| docs_system_utilities [As_conf] | |
| docs_system_utilities [Assemblage.Conf] | docs_system_utilities is the name of the documentation section
in which system utility keys are described.
|
| docv [As_conf.Key] | |
| docv [Assemblage.Private.Conf.Key] | docv k is k's value documentation meta-variable (if any).
|
| dom [As_string.Map] | dom m is the domain of m.
|
| dom [As_path.Map] | |
| dom [As_path.Abs.Map] | |
| dom [As_path.Rel.Map] | |
| dom [As_part.Map] | |
| dom [As_conf.Key.Map] | |
| dom [Assemblage.Private.Conf.Key.Map] | dom m is the domain of m.
|
| dom [Assemblage.Part.Map] | dom m is the domain of m.
|
| dom [Assemblage.Path.Map] | dom m is the domain of m.
|
| dom [Assemblage.Path.Abs.Map] | dom m is the domain of m.
|
| dom [Assemblage.Path.Rel.Map] | dom m is the domain of m.
|
| dom [Assemblage.String.Map] | dom m is the domain of m.
|
| domain [As_conf] | |
| domain [Assemblage.Private.Conf] | domain c is the configuration keys of c.
|
E | |
| echo [As_conf] | |
| echo [Assemblage.Conf] | |
| empty [As_path.Rel] | |
| empty [As_path] | |
| empty [As_conf] | |
| empty [As_args] | |
| empty [Assemblage.Private.Conf] | empty is the empty configuration.
|
| empty [Assemblage.Args] | empty is the empty bundle.
|
| empty [Assemblage.Path.Rel] | |
| empty [Assemblage.Path] | empty is the empty relative path (empty list of segments).
|
| enum [As_conf] | |
| enum [Assemblage.Conf] | enum l converts values such that string names in l map to
the corresponding value of type 'a.
|
| env [As_cmd] | |
| env [Assemblage.Cmd] | env var is the value if the environment variable var, if
defined.
|
| equal [As_path.Abs] | |
| equal [As_path.Rel] | |
| equal [As_path] | |
| equal [As_part] | |
| equal [As_conf.Key] | |
| equal [Assemblage.Private.Conf.Key] | equal k k' is true iff name k = name k'.
|
| equal [Assemblage.Part] | equal p p' is (id p) = (id p').
|
| equal [Assemblage.Path.Abs] | |
| equal [Assemblage.Path.Rel] | |
| equal [Assemblage.Path] | equal p p' is p = p'.
|
| err [As_log] | |
| err [Assemblage.Log] | err fmt ... logs a message with level Error.
|
| err_count [As_log] | |
| err_count [Assemblage.Private.Log] | err_count () is the number of messages logged with level Error.
|
| error [As_cmd] | |
| error [Assemblage.Cmd] | error e is `Error e.
|
| eval [As_project] | |
| eval [As_conf] | |
| eval [Assemblage.Private.Project] | eval p v is Conf.eval [conf p] v.
|
| eval [Assemblage.Private.Conf] | eval c v evaluates v in the configuration c.
|
| eval_key [As_project] | |
| eval_key [Assemblage.Private.Project] | eval_key p k is eval p (Conf.value k).
|
| exec [As_cmd] | |
| exec [Assemblage.Cmd] | exec cmd args executes cmd with arguments args.
|
| exec_ret [As_cmd] | |
| exec_ret [Assemblage.Cmd] | exec_ret cmd args executes cmd with arguments args and
returns the exit code of the invocation.
|
| exists [As_project] | |
| exists [As_part_bin] | |
| exists [As_part] | |
| exists [As_cmd.Vcs] | |
| exists [As_cmd.Dir] | |
| exists [As_cmd.File] | |
| exists [As_cmd.Path] | |
| exists [As_cmd] | |
| exists [Assemblage.Private.Project] | exists p is p's condition of existence.
|
| exists [Assemblage.Bin] | exists ?ext bin is true if the to_cmd bin command
exists.
|
| exists [Assemblage.Part] | exists p determines if p exists.
|
| exists [Assemblage.Cmd.Vcs] | exists d vcs is true if the VCS vcs is detected in
directory d.
|
| exists [Assemblage.Cmd.Dir] | exists dir is true if directory dir exists.
|
| exists [Assemblage.Cmd.File] | exists file is true iff file exists and is not a directory.
|
| exists [Assemblage.Cmd.Path] | exists path is true iff path exists.
|
| exists [Assemblage.Cmd] | exists cmd is true if cmd exists and can be invoked.
|
| exn_error [As_cmd] | |
| exn_error [Assemblage.Cmd] | |
| ext [As_path.Abs] | |
| ext [As_path.Rel] | |
| ext [As_path] | |
| ext [Assemblage.Path.Abs] |
See
Assemblage.Path.ext.
|
| ext [Assemblage.Path.Rel] |
See
Assemblage.Path.ext.
|
| ext [Assemblage.Path] | ext p is p's last segment file extension (if any).
|
| ext_matches [As_path.Abs] | |
| ext_matches [As_path.Rel] | |
| ext_matches [As_path] | |
| ext_matches [Assemblage.Path.Abs] | |
| ext_matches [Assemblage.Path.Rel] | |
| ext_matches [Assemblage.Path] | ext_matches exts p is true iff p's last segment has a file
extension in exts.
|
| ext_of_string [As_path] | |
| ext_of_string [Assemblage.Path] | ext_of_string ext is ext as a file extension (ext without
separator).
|
| ext_to_string [As_path] | |
| ext_to_string [Assemblage.Path] | ext_to_string ext is ext as a string (without separator).
|
F | |
| fadd_if [As_acmd.Args] | |
| fadd_if [Assemblage.Acmd.Args] | add_if c f v l is add (f v) l if c is true and l otherwise.
|
| fadds_if [As_acmd.Args] | |
| fadds_if [Assemblage.Acmd.Args] | fadds_if c (f v) l is adds (f v) l if c is true and l
otherwise.
|
| false_ [As_conf] | |
| false_ [Assemblage.Conf] | false_ is const false.
|
| file [As_path.Rel] | |
| file [As_path] | |
| file [As_part] | |
| file [Assemblage.Part] | file p is a part with a noop action that inputs p.
|
| file [Assemblage.Path.Rel] | file name is add empty f.
|
| file [Assemblage.Path] | file name is add empty f.
|
| file [Assemblage] |
See
Assemblage.Part.file.
|
| file_exts [As_part_dir] | |
| file_exts [Assemblage.Dir] | file_exts exts is a specifier that keeps, in any part,
products that have an extension in exts.
|
| find [As_conf] | |
| find [As_cmd.Vcs] | |
| find [Assemblage.Private.Conf] | find c k is the binding of k in c (if any).
|
| find [Assemblage.Cmd.Vcs] | find d looks for an arbitrary VCS in directory d.
|
| find_prefix [As_path.Abs] | |
| find_prefix [As_path.Rel] | |
| find_prefix [As_path] | |
| find_prefix [Assemblage.Path.Abs] | |
| find_prefix [Assemblage.Path.Rel] | |
| find_prefix [Assemblage.Path] | find_prefix p p' is a common prefix for p and p'.
|
| find_unit [As_part_lib] | |
| fold_files_rec [As_cmd.Dir] | |
| fold_files_rec [Assemblage.Cmd.Dir] | fold_files_rec skip f acc paths folds f over the files
found in paths.
|
| for_ctx [As_args] | |
| for_ctx [Assemblage.Private.Args] | with_ctx conf ctx args is the arguments in args for
context ctx in configuration conf.
|
G | |
| gen [As_part_bin] | |
| gen [Assemblage.Bin] | |
| get [As_conf.Option] | |
| get [As_conf] | |
| get [As_cmd.Vcs] | |
| get [As_cmd] | |
| get [Assemblage_driver.Lib_prefs] | get () is the library's current preferences.
|
| get [Assemblage.Private.Conf] | get c k is the binding of k in c.
|
| get [Assemblage.Conf.Option] | get none v is the value of the option v.
|
| get [Assemblage.Cmd.Vcs] | get d is like Assemblage.Cmd.Vcs.exists but returns an error if no VCS
was found.
|
| get [Assemblage.Cmd] | get r is v if r = `Ok v and
|
| get_env [As_cmd] | |
| get_env [Assemblage.Cmd] | |
| get_ext [As_path.Abs] | |
| get_ext [As_path.Rel] | |
| get_ext [As_path] | |
| get_ext [Assemblage.Path.Abs] | |
| get_ext [Assemblage.Path.Rel] | |
| get_ext [Assemblage.Path] | get_ext p is p's last segment file extension.
|
| get_meta [As_part] | |
| get_meta [Assemblage.Part] | get_meta proj p uses proj on p's metadata.
|
| getcwd [As_cmd.Dir] | |
| getcwd [Assemblage.Cmd.Dir] | getcwd () is the current working directory.
|
H | |
| has_ext [As_path.Abs] | |
| has_ext [As_path.Rel] | |
| has_ext [As_path] | |
| has_ext [Assemblage.Path.Abs] | |
| has_ext [Assemblage.Path.Rel] | |
| has_ext [Assemblage.Path] | has_ext p ext is true iff p's last segment has file extension
ext.
|
| head [As_cmd.Vcs] | |
| head [Assemblage.Cmd.Vcs] | head dirty d vcs is the HEAD commit identifier of the VCS
vcs in in directory d.
|
| hide_type [As_conf.Key] | |
| hide_type [Assemblage.Private.Conf.Key] | hide_type k hides the type parameter of k.
|
| host_arch [As_conf] | |
| host_arch [Assemblage.Conf] | host_arch is the hardware architecture of the host machine
(defaults to the value of the driver's
"PROCESSOR_ARCHITECTURE" environment variable if the driver
Sys.os_type is "Win32" otherwise it is the lowercased
result of Assemblage.Conf.uname invoked with -m)
|
| host_os [As_conf] | |
| host_os [Assemblage.Conf] | host_os is the operating system name of the host machine (defaults
is "Win32" if the driver's Sys.os_type is "Win32"
otherwise it is the lowercased result of Assemblage.Conf.uname invoked with -s).
|
| host_word_size [As_conf] | |
| host_word_size [Assemblage.Conf] | host_word_size is the host machine word bit size (defaults to
the driver's Sys.word_size).
|
I | |
| id [As_part] | |
| id [As_conf.Key] | |
| id [Assemblage.Private.Conf.Key] | id k is the unique id of the key.
|
| id [Assemblage.Part] | id p is a unique id for the part.
|
| ignore_error [As_cmd] | |
| ignore_error [Assemblage.Cmd] | ignore_error ~use r is like Assemblage.Cmd.on_error but the error
is not logged.
|
| info [As_log] | |
| info [Assemblage.Log] | info fmt ... logs a message with level Info.
|
| init [Assemblage_driver.Driver] | init ?version_opt ?kinds ~docs an initialization value
(init,t).
|
| inputs [As_action] | |
| inputs [Assemblage.Action] | inputs a is the list of products input by a's action.
|
| install [As_part_dir] | |
| install [Assemblage.Dir] | kind p is true if the directory contents is meant to be installed.
|
| int [As_conf] | |
| int [Assemblage.Conf] | int converts values with int_of_string.
|
| integrate [As_part] | |
| integrate [Assemblage.Part] | integrate ?add_need i p is i as integrated in p.
|
| is_abs [As_path] | |
| is_abs [Assemblage.Path] | is_abs p is true iff p is an absolute path.
|
| is_dash [As_path.Rel] | |
| is_dash [As_path] | |
| is_dash [Assemblage.Path.Rel] | |
| is_dash [Assemblage.Path] | |
| is_empty [As_path.Rel] | |
| is_empty [As_path] | |
| is_empty [As_conf] | |
| is_empty [As_args] | |
| is_empty [Assemblage.Private.Conf] | is_empty c is true iff c is empty.
|
| is_empty [Assemblage.Args] | is_empty a is true if a is empty.
|
| is_empty [Assemblage.Path.Rel] | |
| is_empty [Assemblage.Path] | |
| is_prefix [As_path.Abs] | |
| is_prefix [As_path.Rel] | |
| is_prefix [As_path] | |
| is_prefix [Assemblage.Path.Abs] | |
| is_prefix [Assemblage.Path.Rel] | |
| is_prefix [Assemblage.Path] | is_prefix p p' is true if p is a literal prefix of p'.
|
| is_rel [As_path] | |
| is_rel [Assemblage.Path] | is_rel p is true iff p is a relative path.
|
| is_root [As_path.Abs] | |
| is_root [As_path] | |
| is_root [Assemblage.Path.Abs] | |
| is_root [Assemblage.Path] | |
J | |
| jobs [As_conf] | |
| jobs [Assemblage.Conf] | jobs is the number of jobs to run for building (defaults to machine
processor count).
|
| js [As_part_unit] | |
| js [As_part_bin] | |
| js [Assemblage.Bin] | js p is true if p can compile to JavaScript code.
|
| js [Assemblage.Unit] | js p is Some p iff p is a JavaScript compilation unit.
|
| js_of_ocaml [As_conf] | |
| js_of_ocaml [Assemblage.Conf] | |
K | |
| key [As_conf] | |
| key [Assemblage.Conf] | key public docs docv doc name conv v is a configuration key
named name that maps to value v by default.
|
| kind [As_part_unit] | |
| kind [As_part_pkg] | |
| kind [As_part_lib] | |
| kind [As_part_doc] | |
| kind [As_part_dir] | |
| kind [As_part_bin] | |
| kind [As_part] | |
| kind [Assemblage.Dir] | kind p is p's kind.
|
| kind [Assemblage.Doc] | kind p is p's kind.
|
| kind [Assemblage.Pkg] | kind p is p's package kind.
|
| kind [Assemblage.Bin] | kind p is p's kind.
|
| kind [Assemblage.Lib] | kind p is the kind of p.
|
| kind [Assemblage.Unit] | kind u is the kind of u.
|
| kind [Assemblage.Part] | kind p is p's kind.
|
| kmsg [As_log] | |
| kmsg [Assemblage.Log] | kmsg header k l fmt ... is like msg header l fmt but calls k ()
before returning.
|
L | |
| level [As_log] | |
| level [Assemblage.Private.Log] | level () is the log level (if any).
|
| lib [As_part_dir] | |
| lib [Assemblage.Dir] | lib is Assemblage.Dir.all_output except in the following cases:
For `Lib parts of kind `OCaml, keeps only the library's
archives and the library's unit's cmx, cmi and cmti
files according to their
interface specification., For `Lib parts of kind `C, keeps only the library's
archives.
|
| lib [Assemblage] |
See
Assemblage.Lib.v.
|
| link_byte [As_action_ocaml] | |
| link_native [As_action_ocaml] | |
| linkall [As_args] | |
| linkall [Assemblage.Args] | linkall is the -linkall flag in the right `OCaml contexts.
|
| list [As_project] | |
| list [Assemblage.Private.Project] | list is the list of projects that were Assemblage.assembled by
the library so far.
|
| list_actions [As_part] | |
| list_actions [Assemblage.Part] | list_actions ps is the list of actions of the parts ps.
|
| list_fold [As_part] | |
| list_fold [Assemblage.Part] | list_fold f acc ps is List.fold_left f acc ps.
|
| list_fold_kind [As_part] | |
| list_fold_kind [Assemblage.Part] | list_fold kind f acc ps is like Assemblage.Part.list_fold but folds only
over the parts whose kind is kind.
|
| list_fold_kind_rec [As_part] | |
| list_fold_kind_rec [Assemblage.Part] | list_fold_kind_rec is the same traversal as Assemblage.Part.list_fold_rec
but only parts whose kind is kind are folded over.
|
| list_fold_rec [As_part] | |
| list_fold_rec [Assemblage.Part] | fold_rec f acc l folds over the parts of l and their needs
recusively, in depth first pre-order.
|
| list_inputs [As_action] | |
| list_inputs [Assemblage.Action] | list_inputs l is the list of inputs of the actions in l.
|
| list_keep [As_part] | |
| list_keep [Assemblage.Part] | list_keep pred ps is the elements of ps that satisfy pred.
|
| list_keep_kind [As_part] | |
| list_keep_kind [Assemblage.Part] | list_keep_kind k ps is the elements of ps that have kind kind.
|
| list_keep_kinds [As_part] | |
| list_keep_kinds [Assemblage.Part] | list_keep_kinds ks is the elements of ps that have one of the
kind ks.
|
| list_keep_map [As_part] | |
| list_keep_map [Assemblage.Part] | list_keep_map f ps is the elements of ps for which f returns
Some value.
|
| list_lookup [As_part_pkg] | |
| list_lookup [Assemblage.Pkg] | list_lookup ps is a lookup function that looks up all
package in ps and returns the aggregated result.
|
| list_outputs [As_action] | |
| list_outputs [Assemblage.Action] | list_outputs l is the list of outputs of the actions in l.
|
| list_products [As_action] | |
| list_products [Assemblage.Action] | list_products l is list_inputs l @ list_outputs l
but tail-recursive.
|
| list_uniquify [As_part] | |
| list_uniquify [Assemblage.Part] | |
| ln [As_conf] | |
| ln [As_acmd] | |
| ln [Assemblage.Acmd] | ln has a command exec src dst to link symbolically file src to
dst.
|
| ln [Assemblage.Conf] | |
| ln_rel [As_acmd] | |
| ln_rel [Assemblage.Acmd] | ln_rel has a command exec src dst to link symbolically file
src to dst.
|
| load [Assemblage_driver.Loader] | load l loads according to settings l.
|
| log [As_action] | |
| log [Assemblage.Action] | log a is a's high-level logging string (if any).
|
| lookup [As_pkg_config] | |
| lookup [As_part_pkg] | |
| lookup [As_ocamlfind] | |
| lookup [Assemblage.Pkg] | query p q is p's lookup function.
|
M | |
| main [Cmd_build] | |
| make [As_conf] | |
| make [Assemblage.Conf] | |
| make_unique_in [As_string] | make_unique_in ~suff set elt is a string that does not belong
set.
|
| make_unique_in [Assemblage.String] | make_unique_in ~suff set elt is a string that does not belong
set.
|
| man [Assemblage_driver.Conf_spec] | man c is a man page fragment for the the term ui c.
|
| man_vars [Assemblage_driver.Driver] | man_vars kinds is a man page fragment for the environment
variables used by Assemblage_driver.Driver.init.
|
| man_vars [Assemblage_driver.Loader] | man_vars is a man page fragment for the environment variables
used by Assemblage_driver.Loader.ui.
|
| man_vars [Assemblage_driver.Lib_prefs] | man_vars is a man page fragment for the environment variables
used by Assemblage_driver.Lib_prefs.ui.
|
| manual_value [As_conf] | |
| map [As_cmd] | |
| map [Assemblage.Cmd] | map r f is bind r (fun v -> ret (f v)).
|
| matches [As_ctx] | |
| matches [Assemblage.Ctx] | matches c c' is true if context c matches c', that is
if c is a subset of c'.
|
| mem [As_conf] | |
| mem [Assemblage.Private.Conf] | mem c k is true iff k is in c.
|
| merge [As_conf] | |
| merge [Assemblage.Private.Conf] | merge c c' merge the configuration c and c'.
|
| meta [As_part] | |
| meta [Assemblage.Part] | meta p is p's metadata.
|
| meta_key [As_part] | |
| meta_key [Assemblage.Part] | meta_key () pairs a metadata injector and projector.
|
| meta_nil [As_part] | |
| meta_nil [Assemblage.Part] | meta_nil is metadata that cannot be accessed.
|
| mkdir [As_conf] | |
| mkdir [As_acmd] | |
| mkdir [Assemblage.Acmd] | mkdir has a command exec d to create the directory p.
|
| mkdir [Assemblage.Conf] | |
| move [As_cmd.Path] | |
| move [Ast_opam.Install] | |
| move [Assemblage_tools.Opam.Install] | move src ~dst moves src to dst.
|
| move [Assemblage.Cmd.Path] | move ~force src dst moves path src to dst.
|
| msg [As_log] | |
| msg [Assemblage.Log] | msg header l fmt ... logs a message with level l.
|
| msg_driver_fault [As_log] | |
| mv [As_conf] | |
| mv [As_acmd] | |
| mv [Assemblage.Acmd] | mv has a command exec src dst to move path src to dst.
|
| mv [Assemblage.Conf] | |
N | |
| name [As_project] | |
| name [As_part] | |
| name [As_conf.Key] | |
| name [Assemblage.Private.Conf.Key] | name k is k's name.
|
| name [Assemblage.Project] | name p is the p's name.
|
| name [Assemblage.Part] | name p is p's name.
|
| native [As_part_lib] | |
| native [As_part_bin] | |
| native [Assemblage.Bin] | native p is true if p can compile to native code.
|
| native [Assemblage.Lib] | native p is true if p can compile to native code.
|
| native_dynlink [As_part_lib] | |
| native_dynlink [Assemblage.Lib] | native p is true if p can compile to native dynamically
linked code.
|
| needs [As_part] | |
| needs [Assemblage.Part] | needs p is the (uniqified) list of parts needed by p to
define itself.
|
| neg [As_conf] | |
| neg [Assemblage.Conf] | neg a is const ( not ) $ a.
|
| nop [As_fmt] | |
| nop [Assemblage.Fmt] | nop does nothing.
|
O | |
| ocaml [As_part_unit] | |
| ocaml [As_part_lib] | |
| ocaml [As_part_bin] | |
| ocaml [As_conf] | |
| ocaml [Assemblage.Bin] | ocaml p is Some p iff p is an `OCaml binary.
|
| ocaml [Assemblage.Lib] | ocaml p is Some p iff p is an `OCaml library.
|
| ocaml [Assemblage.Unit] | ocaml p is Some p iff p is an OCaml compilation unit.
|
| ocaml [Assemblage.Conf] | |
| ocaml_annot [As_conf] | |
| ocaml_annot [Assemblage.Conf] | ocaml_annot is true iff OCaml binary annotation files generation
is requested (defaults to true).
|
| ocaml_build_ast [As_conf] | |
| ocaml_build_ast [Assemblage.Conf] | ocaml_build_ast is true if OCaml source AST should be built
and dumped to a file with Assemblage.Conf.ocaml_dumpast (defaults to
false).
|
| ocaml_byte [As_conf] | |
| ocaml_byte [Assemblage.Conf] | ocaml_byte is true iff OCaml byte code compilation is
requested (defaults to true).
|
| ocaml_dumpast [As_conf] | |
| ocaml_dumpast [Assemblage.Conf] | |
| ocaml_js [As_conf] | |
| ocaml_js [Assemblage.Conf] | ocaml_js is true iff OCaml JavaScript compilation is requested
(defaults to false).
|
| ocaml_native [As_conf] | |
| ocaml_native [Assemblage.Conf] | ocaml_native is true iff OCaml native code compilation is
requested (defaults to true).
|
| ocaml_native_dynlink [As_conf] | |
| ocaml_native_dynlink [Assemblage.Conf] | ocaml_native_dynlink is true iff OCaml native code dynamic linking
compilation is requested (defaults to true).
|
| ocaml_native_tools [As_conf] | |
| ocaml_native_tools [Assemblage.Conf] | ocaml_native_tools is true to use the native compiled (.opt)
OCaml tools (defaults to true).
|
| ocaml_pp [As_part_lib] | |
| ocaml_pp [Assemblage.Lib] | ocaml_pp p is Some p iff p is `OCaml_pp library.
|
| ocaml_toplevel [As_part_bin] | |
| ocaml_toplevel [Assemblage.Bin] | ocaml_toplevel p is Some p iff p is an `OCaml_toplevel binary.
|
| ocaml_version [As_conf] | |
| ocaml_version [Assemblage.Conf] | ocaml_version is the OCaml compiler version (defaults is inferred
by invoking an OCaml compiler).
|
| ocamlc [As_conf] | |
| ocamlc [Assemblage.Conf] | ocamlc is the
ocamlc
utility (defaults to "ocamlc" or "ocamlc.opt" according to
Assemblage.Conf.ocaml_native_tools).
|
| ocamldebug [As_conf] | |
| ocamldebug [Assemblage.Conf] | |
| ocamldep [As_conf] | |
| ocamldep [Assemblage.Conf] | ocamldep is the
ocamldep
utility (defaults to "ocamldep" or "ocamldep.opt" according to
Assemblage.Conf.ocaml_native_tools).
|
| ocamldoc [As_part_doc] | |
| ocamldoc [As_conf] | |
| ocamldoc [Assemblage.Doc] | ocamldoc p is Some p iff p is an `OCamldoc documentation
generator.
|
| ocamlfind [As_part_pkg] | |
| ocamlfind [As_conf] | |
| ocamlfind [Assemblage.Pkg] | ocamlfind p is Some p iff p is an `OCamlfind package.
|
| ocamlfind [Assemblage.Conf] | |
| ocamllex [As_conf] | |
| ocamllex [Assemblage.Conf] | ocamllex is the
ocamllex utility (defaults to "ocamllex" or "ocamllex.opt"
according to Assemblage.Conf.ocaml_native_tools).
|
| ocamlmklib [As_conf] | |
| ocamlmklib [Assemblage.Conf] | |
| ocamlopt [As_conf] | |
| ocamlopt [Assemblage.Conf] | ocamlopt is the
ocamlopt
utility (defaults to "ocamlopt" or "ocamlopt.opt" according to
Assemblage.Conf.ocaml_native_tools).
|
| ocamlprof [As_conf] | |
| ocamlprof [Assemblage.Conf] | |
| ocamlrun [As_conf] | |
| ocamlrun [Assemblage.Conf] | |
| ocamlyacc [As_conf] | |
| ocamlyacc [Assemblage.Conf] | |
| of_abs [As_path] | |
| of_abs [Assemblage.Path] | of_abs a is a as a path.
|
| of_keys [As_conf] | |
| of_keys [Assemblage.Private.Conf] | of_keys ks is a configuration where each key in ks binds to
its default value.
|
| of_list [As_string.Set] | of_list ss is a set from the list ss.
|
| of_list [As_path.Set] | |
| of_list [As_path.Abs.Set] | |
| of_list [As_path.Rel.Set] | |
| of_list [As_part.Set] | |
| of_list [As_conf.Key.Set] | |
| of_list [Assemblage.Private.Conf.Key.Set] | |
| of_list [Assemblage.Part.Set] | |
| of_list [Assemblage.Path.Set] | |
| of_list [Assemblage.Path.Abs.Set] | |
| of_list [Assemblage.Path.Rel.Set] | |
| of_list [Assemblage.String.Set] | of_list ss is a set from the list ss.
|
| of_project [Builder_makefile] | |
| of_project [Ast_opam.Install] | |
| of_project [Ast_meta] | |
| of_project [Ast_merlin] | |
| of_project [Assemblage_tools.Merlin] | of_project p is a merlin file for project p.
|
| of_project [Assemblage_tools.Meta] | of_project p is a META file for project p.
|
| of_project [Assemblage_tools.Opam.Install] | of_project add p is an install file for project p and add.
|
| of_rel [As_path] | |
| of_rel [Assemblage.Path] | of_rel r is r as a path.
|
| of_segs [As_path.Abs] | |
| of_segs [As_path.Rel] | |
| of_segs [As_path] | |
| of_segs [Assemblage.Path.Abs] | of_segs segs is a path from segs segments.
|
| of_segs [Assemblage.Path.Rel] | of_segs segs is a path from segs segments.
|
| of_segs [Assemblage.Path] | of_segs segs is a path from segs segments.
|
| of_string [As_path] | |
| of_string [Assemblage.Path] | of_string s is the string s as a path.
|
| on_error [As_cmd] | |
| on_error [Assemblage.Cmd] | on_error ~level ~use r is:
v if r = `Ok v, use if r = `Error msg. As a side effect msg is
logged with level level (defaults to
Log.Error)
|
| opam [As_conf] | |
| opam [Assemblage.Conf] | |
| opam_admin [As_conf] | |
| opam_admin [Assemblage.Conf] | opam_admin is the opam-admin tool (defaults to "opam-admin")
|
| opam_installer [As_conf] | |
| opam_installer [Assemblage.Conf] | opam_installer is the opam-installer tool
(defaults to "opam-installer")
|
| opt [As_part_pkg] | |
| opt [Assemblage.Pkg] | opt p is true if the package is optional.
|
| other [As_part_pkg] | |
| other [Assemblage.Pkg] | c p is Some p iff p is a C package.
|
| outputs [As_action] | |
| outputs [Assemblage.Action] | outputs a is the list of products output by a's action.
|
| override_exec [As_cmd.Vcs] | |
| override_exec [Assemblage.Private.Cmd.Vcs] | override_bin is the current VCS executable
override.
|
| override_kind [As_cmd.Vcs] | |
| override_kind [Assemblage.Private.Cmd.Vcs] | override_kind () is the current VCS kind override value.
|
P | |
| parser [As_conf] | |
| parser [Assemblage.Conf] | parser c is c's parser.
|
| parts [As_project] | |
| parts [Assemblage.Private.Project] | parts p is p's parts.
|
| path [As_conf] | |
| path [As_acmd.Args] | |
| path [Assemblage.Acmd.Args] | |
| path [Assemblage.Conf] | path converts value with Assemblage.Path.of_string.
|
| path_arg [As_acmd.Args] | |
| path_arg [Assemblage.Acmd.Args] | path_arg p l is Path.to_string p :: l.
|
| path_args [As_acmd.Args] | |
| path_args [Assemblage.Acmd.Args] | |
| pick_if [As_conf] | |
| pick_if [Assemblage.Conf] | pick_if c a b is a if c evaluates to true and b
otherwise.
|
| pkg [Assemblage] |
See
Assemblage.Pkg.v.
|
| pkg_config [As_part_pkg] | |
| pkg_config [As_conf] | |
| pkg_config [Assemblage.Pkg] | pkg_config p is Some p iff p is a `Pkg_config package.
|
| pkg_config [Assemblage.Conf] | |
| pp [As_path.Abs] | |
| pp [As_path.Rel] | |
| pp [As_path] | |
| pp [As_fmt] | |
| pp [As_ctx] | |
| pp [As_conf] | |
| pp [As_args] | |
| pp [As_action] | |
| pp [As_acmd] | |
| pp [Assemblage_driver.Loader] | pp ppf l prints an unspecified representation of l on ppf.
|
| pp [Assemblage_driver.Lib_prefs] | pp ppf p prints an unspecified representation of p on ppf.
|
| pp [Assemblage.Private.Action] | pp conf ppf a prints an unspecified representation of
a in context conf on ppf.
|
| pp [Assemblage.Private.Acmd] | pp ppf c prints an unspecified representation of c on ppf.
|
| pp [Assemblage.Private.Args] | pp conf ppf args prints an unspecified representation of
args in context conf on ppf.
|
| pp [Assemblage.Private.Conf] | pp ppf c prints an unspecified representation of c on ppf.
|
| pp [Assemblage.Ctx] | pp ppf c prints an unspecified representation of c on ppf.
|
| pp [Assemblage.Path.Abs] |
See
Assemblage.Path.pp.
|
| pp [Assemblage.Path.Rel] |
See
Assemblage.Path.pp.
|
| pp [Assemblage.Path] | |
| pp [Assemblage.Fmt] | pp is Format.fprintf
|
| pp_bool [As_fmt] | |
| pp_bool [Assemblage.Fmt] | pp_bool is Format.pp_print_bool.
|
| pp_cut [As_fmt] | |
| pp_cut [Assemblage.Fmt] | pp_cut is Format.pp_print_cut.
|
| pp_doomed [As_fmt] | |
| pp_doomed [Assemblage.Fmt] | pp_doomed should be used for printing a message when
reasonable assumptions are being violated.
|
| pp_elt [As_ctx] | |
| pp_elt [Assemblage.Ctx] | pp_elt ppf e prints an unspecified representation of e on ppf.
|
| pp_ext [As_path] | |
| pp_ext [Assemblage.Path] | |
| pp_if_utf8 [As_fmt] | |
| pp_if_utf8 [Assemblage.Fmt] | pp_if_utf8 pp_u pp is a formatter that will use pp_u if UTF-8
output is enabled by the driver and pp otherwise.
|
| pp_int [As_fmt] | |
| pp_int [Assemblage.Fmt] | pp_int is Format.pp_print_int.
|
| pp_key_dup [As_conf] | |
| pp_key_dup [Assemblage.Private.Conf] | pp_key_dup ppf k prints a message that says that the name of
k is not unique in a configuration.
|
| pp_kind [As_part_unit] | |
| pp_kind [As_part_pkg] | |
| pp_kind [As_part_lib] | |
| pp_kind [As_part_doc] | |
| pp_kind [As_part_dir] | |
| pp_kind [As_part_bin] | |
| pp_kind [As_part] | |
| pp_kind [As_ctx] | |
| pp_kind [Assemblage_driver.Loader] | pp_kind ppf kind prints an unspecified representation of kind
on ppf.
|
| pp_kind [Assemblage.Dir] | pp_kind ppf k prints an unspecified representation of k on
ppf.
|
| pp_kind [Assemblage.Doc] | pp_kind ppf k prints an unspecified representation of k on
ppf.
|
| pp_kind [Assemblage.Pkg] | pp_kind ppf k prints an unspecified representation of k on
ppf.
|
| pp_kind [Assemblage.Bin] | pp_kind ppf k prints an unspecified representation of k on
ppf.
|
| pp_kind [Assemblage.Lib] | pp_kind ppf k prints an unspecified representation of k on
ppf.
|
| pp_kind [Assemblage.Unit] | pp_kind ppf k prints an unspecified representation of k on
ppf.
|
| pp_kind [Assemblage.Part] | pp_kind ppf k prints an unspecified represetation of k on
ppf.
|
| pp_larrow [As_fmt] | |
| pp_larrow [Assemblage.Fmt] | pp_larrow formats a left arrow.
|
| pp_lines [As_fmt] | |
| pp_lines [Assemblage.Fmt] | pp_lines formats lines by replacing newlines in the string
with calls to Format.pp_force_newline.
|
| pp_list [As_fmt] | |
| pp_list [Assemblage.Fmt] | pp_list pp_sep pp_v formats lists of type 'a.
|
| pp_opt [As_fmt] | |
| pp_opt [Assemblage.Fmt] | pp_opt pp_none pp_v formats value of type 'a option.
|
| pp_rarrow [As_fmt] | |
| pp_rarrow [Assemblage.Fmt] | pp_rarrow formats a right arrow.
|
| pp_signature [As_project] | |
| pp_signature [Assemblage.Private.Project] | pp_signature ppf p prints an unspecified signature for p
on ppf, includes the project name and version.
|
| pp_sp [As_fmt] | |
| pp_sp [Assemblage.Fmt] | pp_sp is Format.pp_print_space.
|
| pp_str [As_fmt] | |
| pp_str [Assemblage.Fmt] | pp_str is Format.pp_print_string.
|
| pp_styled [As_fmt] | |
| pp_styled [Assemblage.Fmt] | pp_styled style pp formats according to pp but styled with style.
|
| pp_styled_str [As_fmt] | |
| pp_styled_str [Assemblage.Fmt] | pp_styled_str style is pp_styled_str style pp_str.
|
| pp_text [As_fmt] | |
| pp_text [Assemblage.Fmt] | pp_text formats text by replacing spaces and newlines in the string
with calls to Format.pp_print_space and Format.pp_force_newline.
|
| pp_usage [As_part] | |
| pp_usage [As_ctx] | |
| pp_usage [Assemblage.Part] | pp_usage ppf u prints an unspecified representation of u
on ppf.
|
| printer [As_conf] | |
| printer [Assemblage.Conf] | converter c is c's printer.
|
| products [As_project] | |
| products [As_action] | |
| products [Assemblage.Private.Project] | products kind p is the set of products known to the project
in the current configuration.
|
| products [Assemblage.Action] | products a is inputs a @ outputs a but tail recursive.
|
| profile [As_conf] | |
| profile [Assemblage.Conf] | profile is true iff build products in general must support profiling
(defaults to false).
|
| project_version [As_conf] | |
| project_version [Assemblage.Conf] | project_version is the version number of the project (defaults
is inferred from the VCS).
|
| public [As_conf.Key] | |
| public [Assemblage.Private.Conf.Key] | public k is k's public status.
|
Q | |
| quote [As_path.Abs] | |
| quote [As_path.Rel] | |
| quote [As_path] | |
| quote [Assemblage.Path.Abs] | |
| quote [Assemblage.Path.Rel] | |
| quote [Assemblage.Path] | quote p is the path p as a string, quoted according
to the driver's platform conventions with Filename.quote.
|
R | |
| rcut [As_string] | |
| rcut [Assemblage.String] | rcut sep s is like Assemblage.String.cut but the matching is done backwards
starting from the end of s.
|
| read [As_cmd.File] | |
| read [As_cmd] | |
| read [Assemblage.Cmd.File] | read file is file's content.
|
| read [Assemblage.Cmd] | read cmd args execute cmd with arguments args and returns
its standard output.
|
| read_lines [As_cmd.File] | |
| read_lines [As_cmd] | |
| read_lines [Assemblage.Cmd.File] | read_lines file is file's content splitted at '\n'.
|
| read_lines [Assemblage.Cmd] | input_lines cmd args is like input ~trim:false cmd args but
the input is splitted at '\n'.
|
| redefine [As_part] | |
| redefine [Assemblage.Part] | redefine check actions p is p with check function check
and actions function action (both defaults to p's one if
unspecified).
|
| rel_path [As_conf] | |
| rel_path [Assemblage.Conf] | path converts value with Assemblage.Path.of_string.
|
| rem [As_conf] | |
| rem [Assemblage.Private.Conf] | rem c k is c without k's binding.
|
| rem_ext [As_path.Abs] | |
| rem_ext [As_path.Rel] | |
| rem_ext [As_path] | |
| rem_ext [Assemblage.Path.Abs] | |
| rem_ext [Assemblage.Path.Rel] | |
| rem_ext [Assemblage.Path] | rem_ext p is p with ext removed from p's last segment
(if it has an extension).
|
| rem_prefix [As_path.Abs] | |
| rem_prefix [As_path.Rel] | |
| rem_prefix [As_path] | |
| rem_prefix [Assemblage.Path.Abs] | |
| rem_prefix [Assemblage.Path.Rel] | |
| rem_prefix [Assemblage.Path] | rem_prefix pre p is p with the literal prefix pre removed.
|
| ret [As_cmd] | |
| ret [Assemblage.Cmd] | ret v is `Ok v.
|
| reword_error [As_cmd] | |
| reword_error [Assemblage.Cmd] | reword_error msg r uses msg for the error message in case of
`Error.
|
| rm [As_conf] | |
| rm [Assemblage.Conf] | |
| rm_dirs [As_acmd] | |
| rm_dirs [Assemblage.Acmd] | rm_dirs has a command exec ~f ~r paths to remove the directory paths paths.
|
| rm_files [As_acmd] | |
| rm_files [Assemblage.Acmd] | rm_files has a command exec ~f paths to remove the file
paths paths.
|
| rmdir [As_conf] | |
| rmdir [Assemblage.Conf] | |
| root [As_path.Abs] | |
| root [As_path] | |
| root [As_part] | |
| root [Assemblage.Part] | |
| root [Assemblage.Path.Abs] |
See
Assemblage.Path.root.
|
| root [Assemblage.Path] | root is the root absolute path (empty list of segments).
|
| root [Assemblage] | root is the current directory relative to the
project root.
|
| root_dir [As_conf] | |
| root_dir [Assemblage.Conf] | root_dir is the absolute path to the project directory (defaults
to the driver program current directory).
|
| root_path [As_part] | |
| root_path [Assemblage.Part] | root_path is like Assemblage.Part.root but as a generic path.
|
| rpp [As_fmt] | |
| rpp [Assemblage.Fmt] | rpp is pp fmt ppf
|
| rsplit [As_string] | rsplit sep s is like As_string.split but the matching is
done backwards, starting from the end of s.
|
| rsplit [Assemblage.String] | rsplit sep s is like Assemblage.String.split but the matching is
done backwards, starting from the end of s.
|
| rule [Makefile] | rule ext order_only_prereqs targets prerequs recipe () is a makefile
rule.
|
| run [Assemblage] |
See
Assemblage.Run.v.
|
S | |
| scheme [As_conf] | |
| scheme [Assemblage.Conf] | scheme base name defs is a configuration scheme named name
that has the key-value bindings of base together with those
of defs, the latter taking precedence.
|
| scheme_man [Assemblage_driver.Conf_spec] | scheme_man sl is a man page fragment for the term
scheme_ui sl.
|
| scheme_ui [Assemblage_driver.Conf_spec] | scheme_ui sl is a Cmdliner term that allows to select a
configuration scheme from the list of schemes sl.
|
| schemes [As_project] | |
| schemes [Assemblage.Private.Project] | schemes p is p's configuration schemes.
|
| set [As_conf] | |
| set [Assemblage_driver.Lib_prefs] | set p sets the library preferences to p.
|
| set [Assemblage.Private.Conf] | set c k v is c with k binding to v.
|
| set_formatter [As_log] | |
| set_formatter [Assemblage.Private.Log] | set_formatter spec ppf sets the formatter for a given level or
for all the levels according to spec.
|
| set_level [As_log] | |
| set_level [Assemblage.Private.Log] | set_level l sets the log level to l.
|
| set_override_exec [As_cmd.Vcs] | |
| set_override_exec [Assemblage.Private.Cmd.Vcs] | set_override_exec (Some vcs_exec) uses vcs_exec as the
VCS executable, use in conjunction with Assemblage.Private.Cmd.Vcs.set_override_kind
otherwise it has no effect.
|
| set_override_kind [As_cmd.Vcs] | |
| set_override_kind [Assemblage.Private.Cmd.Vcs] | set_override_kind (Some vcs) has the effect of bypassing
VCS discovery.
|
| set_style_tags [As_fmt] | |
| set_style_tags [Assemblage.Private.Fmt] | set_style_tags s sets the current tag style used by
Assemblage.Fmt.pp_styled.
|
| set_utf8_enabled [As_fmt] | |
| set_utf8_enabled [Assemblage.Private.Fmt] | set_utf8_enabled b sets UTF-8 pretty-printing to b.
|
| show [As_log] | |
| show [Assemblage.Log] | show fmt ... logs a message with level Show.
|
| slice [As_string] | slice ~start ~stop s is the string s.
|
| slice [Assemblage.String] | slice ~start ~stop s is the string s.
|
| some [As_conf.Option] | |
| some [Assemblage.Conf.Option] | some v is the value of v as a Some value.
|
| split [As_string] | split sep s is the list of all (possibly empty)
substrings of s that are delimited by matches of the non empty
separator string sep.
|
| split [Assemblage.String] | split sep s is the list of all (possibly empty) substrings of
s that are delimited by matches of the non empty separator
string sep.
|
| stamp [As_acmd] | |
| stamp [Assemblage.Acmd] | stamp has a command execs f content that writes content to f.
|
| static [As_acmd] | |
| static [Assemblage.Acmd] | static name is a program whose name is name.
|
| stderr [As_acmd] | |
| stderr [Assemblage.Private.Acmd] | stderr c is c's stderr redirection (if any).
|
| stdin [As_acmd] | |
| stdin [Assemblage.Private.Acmd] | stdin c is c's stdin redirection (if any).
|
| stdout [As_acmd] | |
| stdout [Assemblage.Private.Acmd] | stdout c is c's stdout redirection (if any).
|
| string [As_conf] | |
| string [Assemblage.Conf] | string converts values with the indentity function.
|
| stub [As_args] | |
| stub [Assemblage.Args] | stub s adds -cclib -ls -dllib -ls to the bytecode
linking options and -cclib -ls to the native linking
options.
|
| style_tags [As_fmt] | |
| style_tags [Assemblage.Private.Fmt] | style_tags () is the current tag style used by Assemblage.Fmt.pp_styled.
|
| symlink [As_action] | |
| symlink [Assemblage.Action] | |
T | |
| target_arch [As_conf] | |
| target_arch [Assemblage.Conf] | target_arch is the hardware architecture of the target machine (defaults
to the value of Assemblage.Conf.host_arch).
|
| target_os [As_conf] | |
| target_os [Assemblage.Conf] | target_os is the operating system name of the target machine (defaults
to the value of Assemblage.Conf.host_os).
|
| target_word_size [As_conf] | |
| target_word_size [Assemblage.Conf] | target_word_size is the target machine word bit size (defaults to
the value of Assemblage.Conf.host_word_size).
|
| temp [As_cmd.File] | |
| temp [Assemblage.Cmd.File] | temp suffix creates a temporary file with suffix suffix and returns
its name.
|
| terms [Cmd_base] | |
| test [As_conf] | |
| test [Assemblage.Conf] | test is true iff test build products should be built
(defaults to false).
|
| thread [As_args] | |
| thread [Assemblage.Args] | thread is the -thread flag in the right `OCaml contexts.
|
| to_abs [As_path] | |
| to_abs [Assemblage.Path] | to_abs p is Some a if p is an absolute path.
|
| to_cmd [As_part_bin] | |
| to_cmd [Assemblage.Bin] | to_cmd ext bin is an action command for
using the part's binary.
|
| to_cmd_path [As_part_bin] | |
| to_cmd_path [Assemblage.Bin] | to_cmd_path ext bin is to_cmd ext bin as a path.
|
| to_rel [As_path] | |
| to_rel [Assemblage.Path] | to_rel p is Some r if p is a relative path.
|
| to_segs [As_path.Abs] | |
| to_segs [As_path.Rel] | |
| to_segs [As_path] | |
| to_segs [Assemblage.Path.Abs] | to_segs a is a's segments.
|
| to_segs [Assemblage.Path.Rel] | to_segs r is r's segments.
|
| to_segs [Assemblage.Path] | to_segs p is p's segments.
|
| to_string [Makefile] | to_string m is m as a string.
|
| to_string [As_path.Abs] | |
| to_string [As_path.Rel] | |
| to_string [As_path] | |
| to_string [Ast_opam.Install] | |
| to_string [Ast_meta] | |
| to_string [Ast_merlin] | |
| to_string [Assemblage_tools.Merlin] | to_string m is m as a string.
|
| to_string [Assemblage_tools.Meta] | to_string meta is m as a string.
|
| to_string [Assemblage_tools.Opam.Install] | to_string i is i as a string.
|
| to_string [Assemblage.Path.Abs] | |
| to_string [Assemblage.Path.Rel] | |
| to_string [Assemblage.Path] | to_string p is the path p as a string according to
the driver's platform convention with Filename.dir_sep.
|
| tokens [As_string] | tokens s is the list of non empty strings made of characters
that are not separated by ' ', '\t', '\n', '\r' characters in
s, the order of character appearance in the list is the same as
in s.
|
| tokens [Assemblage.String] | tokens s is the list of non empty strings made of characters
that are not separated by ' ', '\t', '\n', '\r' characters in
s, the order of character appearance in the list is the same as
in s.
|
| true_ [As_conf] | |
| true_ [Assemblage.Conf] | true_ is const true.
|
U | |
| ui [Assemblage_driver.Loader] | ui ~docs is a Cmdliner term that defines a loader setting
value either through command line options or through environment
variables.
|
| ui [Assemblage_driver.Lib_prefs] | ui ~docs is a Cmdliner term that defines a library
preferences value either through command line options or through
environment variables (see Assemblage_driver.Lib_prefs.man_vars).
|
| ui [Assemblage_driver.Conf_spec] | ui c is a Cmdliner term that allows to set the value of
the public configuration keys of c using flags on the command
line.
|
| uname [As_conf] | |
| uname [Assemblage.Conf] | |
| uniquify [As_string] | uniquify ss is ss without duplicates, the list order is preserved.
|
| uniquify [Assemblage.String] | uniquify ss is ss without duplicates, the list order is preserved.
|
| unit [Assemblage] |
See
Assemblage.Unit.v.
|
| usage [As_part] | |
| usage [Assemblage.Part] | usage p is p's usage.
|
| utf8_enabled [As_fmt] | |
| utf8_enabled [Assemblage.Private.Fmt] | utf8_enabled () is true if UTF-8 pretty-printing is enabled.
|
V | |
| v [As_project] | |
| v [As_part_unit] | |
| v [As_part_run] | |
| v [As_part_pkg] | |
| v [As_part_lib] | |
| v [As_part_doc] | |
| v [As_part_dir] | |
| v [As_part_bin] | |
| v [As_part] | |
| v [As_ctx] | |
| v [As_args] | |
| v [As_action] | |
| v [As_acmd] | |
| v [Assemblage.Project] | v exists args parts n is the project named n with parts parts.
|
| v [Assemblage.Run] | v dir name action is a run that executes the action
action.
|
| v [Assemblage.Dir] | v spec install kind needs is a directory of type kind that
gathers the products of existing needs as determined by
the directory specifier spec.
|
| v [Assemblage.Doc] | v keep name kind needs is a documentation set named name of
the given kind.
|
| v [Assemblage.Pkg] | v opt name kind is a package named name of the given kind.
|
| v [Assemblage.Bin] | v ?byte ?native ?js name kind needs is a binary named name
of the given kind.
|
| v [Assemblage.Lib] | v ?byte ?native ?native_dynlink name kind needs is a library
named name of the given kind.
|
| v [Assemblage.Unit] | v ~needs ~dir name kind is a compilation unit named name,
the name of the file without the suffix located in directory
dir (defaults to Assemblage.root) of kind kind.
|
| v [Assemblage.Part] | v ?usage ?exists ?meta ?needs ?args ?actions ?check name defines
a base part named name.
|
| v [Assemblage.Action] | v ctx inputs outputs cmds is the action that given the
existence of inputs creates outputs using the sequence of
command cmds.
|
| v [Assemblage.Acmd] | v cmd args represents the execution of program cmd with
argument args and standard file descriptors redirected to
stdin, stdout, and stderr (if specified).
|
| v [Assemblage.Args] | v ~exists ctx args is the bundle that binds ctx to args
whenever exists evaluates to true (defaults to Assemblage.Conf.true_).
|
| v [Assemblage.Ctx] | v els is the context with elements els.
|
| v_kind [As_part] | |
| value [As_conf] | |
| value [Assemblage.Conf] | value k is a value that evaluates to k's binding in the
configuration.
|
| vc [As_args] | |
| vc [Assemblage.Args] | vc ~exists ctx args is v ~exists ctx (Conf.const args).
|
| version [As_project] | |
| version [As_conf] | |
| version [Assemblage.Private.Project] | version p evaluates Assemblage.Conf.project_version
|
| version [Assemblage.Conf] | version converts values of the form
[v|V]major.minor[.patch][(-|+).*].
|
| vmthread [As_args] | |
| vmthread [Assemblage.Args] | vmthread is the -vmthread flag in the right `OCaml contexts.
|
W | |
| warn [As_log] | |
| warn [Assemblage.Log] | warn fmt ... logs a message with level Warning.
|
| warn_count [As_log] | |
| warn_count [Assemblage.Private.Log] | warn_count () is the number of messages logged with level
Warning.
|
| warn_error [As_conf] | |
| warn_error [Assemblage.Conf] | warn_error is true iff tools in general should treat
warnings as errors (defaults to false).
|
| watermark_string [As_project] | |
| watermark_string [Assemblage.Private.Project] | watermark_string suffix p is a watermark that can be used in
the comments of generated files for the project.
|
| with_bin [As_part_run] | |
| with_bin [Assemblage.Run] | with_bin dir ext bin cmds is a run that executes the sequence
of commands Conf.(cmds $ Bin.of_cmd ext bin).
|
| with_conf [As_project] | |
| with_conf [Assemblage.Private.Project] | with_conf p c is p with configuration c.
|
| with_inf [As_cmd.File] | |
| with_inf [Assemblage.Cmd.File] | with_inf f inf v opens inf as a channel ic and returns f
ic v if no error occurs.
|
| with_outf [As_cmd.File] | |
| with_outf [Assemblage.Cmd.File] | with_inf f outf v opens outf as a channel oc and returns
f oc v if no error occurs.
|
| wrap [As_conf.Option] | |
| wrap [Assemblage.Conf.Option] | wrap o is o as an optional value.
|
| write [As_cmd.File] | |
| write [As_cmd] | |
| write [Assemblage.Cmd.File] | write file content outputs content to file.
|
| write [Assemblage.Cmd] | write cmd args file execute cmd with arguments args and writes
the invocation's stdout to file.
|
| write_lines [As_cmd.File] | |
| write_lines [Assemblage.Cmd.File] | write_lines file lines outputs lines separated by '\n' to
file.
|
| write_subst [As_cmd.File] | |
| write_subst [Assemblage.Cmd.File] | write_subst vars file content outputs content to file.
|