module Ctx:sig..end
Execution contexts define an indirect addressing mechanism used to inject arguments on the command lines of action commands.
The exact context associated to a command execution depends on the
part, the action (via the ctx argument of
Assemblage.Action.v), and the name of the command being
executed.
typetag =[ `Tag of string ]
typelanguage =[ `C | `Js | `Lang of string | `OCaml ]
`OCaml working on OCaml related products.`C working on C releated products.`Js working on JavaScript related products.`Other l working on language l related products.typebuild_phase =[ `Archive of [ `Shared | `Static ]
| `Compile
| `Dep
| `Doc
| `Gen
| `Link
| `Pp ]
`Gen source or data is being generated.`Dep source is analyzed for dependencies.`Pp source is pre-processed.`Compile source is compiled.`Archive compilation products are being archived.`Link compilation products are being linked into an executable.`Doc documentation is being generated. FIXMEtypesource =[ `Src of Assemblage.Path.ext ]
typetarget =[ `Target of [ `Byte | `Js | `Native | `Other of string | `Src ] ]
`Src working on source code generation.`Byte working on byte code generation.`Native working on native code generation.`Js working on JavaScript code generation.`Other o working on other kind of generation.typecmd =[ `Cmd of string Assemblage.Conf.key | `Cmd_static of string ]
`Cmd k, the command denoted by k is being executed.`Cmd n, the command statically named n is being executed.typepart_usage =[ `Build | `Dev | `Doc | `Other of string | `Outcome | `Test ]
typepart_kind =[ `Base | `Bin | `Dir | `Doc | `Lib | `Pkg | `Run | `Unit ]
typepart =[ `Part of
[ `Base
| `Bin
| `Build
| `Dev
| `Dir
| `Doc
| `Lib
| `Name of string
| `Other of string
| `Outcome
| `Pkg
| `Run
| `Test
| `Unit ] ]
typeelt =[ `Archive of [ `Shared | `Static ]
| `C
| `Cmd of string Assemblage.Conf.key
| `Cmd_static of string
| `Compile
| `Dep
| `Doc
| `Gen
| `Js
| `Lang of string
| `Link
| `OCaml
| `Part of
[ `Base
| `Bin
| `Build
| `Dev
| `Dir
| `Doc
| `Lib
| `Name of string
| `Other of string
| `Outcome
| `Pkg
| `Run
| `Test
| `Unit ]
| `Pp
| `Src of Assemblage.Path.ext
| `Tag of string
| `Target of [ `Byte | `Js | `Native | `Other of string | `Src ] ]
val pp_elt : Format.formatter -> elt -> unitpp_elt ppf e prints an unspecified representation of e on ppf.type t
val v : elt list -> tv els is the context with elements els.val matches : t -> t -> boolmatches c c' is true if context c matches c', that is
if c is a subset of c'.val pp : Format.formatter -> t -> unitpp ppf c prints an unspecified representation of c on ppf.include Set.S