Module As_action

module As_action: sig .. end
Build actions.

See Assemblage.Action.



Actions


type t 
val v : ?log:string ->
?ctx:As_ctx.t ->
?inputs:As_path.t list ->
?outputs:As_path.t list -> As_acmd.t list -> t
val ctx : t -> As_ctx.t
val inputs : t -> As_path.t list
val outputs : t -> As_path.t list
val cmds : t -> As_acmd.t list
val args : t -> As_args.t
val log : t -> string option
val products : t -> As_path.t list
val add_cmds : [ `After | `Before ] -> As_acmd.t list -> t -> t
val add_ctx_args : As_ctx.t -> As_args.t -> t -> t
add_ctx_args ctx args t adds context ctx and argument bundle args to t. This is used by parts to watermark their actions on As_part.actions.
val pp : As_conf.t -> Format.formatter -> t -> unit

Action lists


val list_inputs : t list -> As_path.t list
val list_outputs : t list -> As_path.t list
val list_products : t list -> As_path.t list

Build actions


val symlink : (As_path.t -> As_path.t -> t) As_conf.value