Module As_acmd

module As_acmd: sig .. end
Build action commands

See Assemblage.Acmd.



Action commands


type cmd 
val cmd : string As_conf.key -> cmd As_conf.value
val static : string -> cmd
type t 
val v : ?stdin:As_path.t ->
?stdout:As_path.t ->
?stderr:As_path.t -> cmd -> string list -> t
val cmd_key : t -> string As_conf.key option
val cmd_name : t -> string
val args : t -> string list
val stdin : t -> As_path.t option
val stdout : t -> As_path.t option
val stderr : t -> As_path.t option
val pp : Format.formatter -> t -> unit
val ctx : As_ctx.t -> t -> As_ctx.t
val args_with_ctx : As_conf.t -> As_ctx.t -> As_args.t -> t -> string list
module Args: sig .. end
Action command arguments combinators.

Portable system utility invocations


val dev_null : As_path.t As_conf.value
val cd : (As_path.t -> t) As_conf.value
val ln : (As_path.t -> As_path.t -> t) As_conf.value
val ln_rel : (As_path.t -> As_path.t -> t) As_conf.value
val cp : (As_path.t -> As_path.t -> t) As_conf.value
val mv : (As_path.t -> As_path.t -> t) As_conf.value
val rm_files : (?f:bool -> As_path.t list -> t) As_conf.value
val rm_dirs : (?f:bool -> ?r:bool -> As_path.t list -> t) As_conf.value
val mkdir : (As_path.t -> t) As_conf.value
val stamp : (As_path.t -> string -> t) As_conf.value