Module OpamFile.Wrappers

Command wrappers for package scripts

type t = {
pre_build : OpamTypes.command list;
wrap_build : OpamTypes.command list;
post_build : OpamTypes.command list;
pre_install : OpamTypes.command list;
wrap_install : OpamTypes.command list;
post_install : OpamTypes.command list;
pre_remove : OpamTypes.command list;
wrap_remove : OpamTypes.command list;
post_remove : OpamTypes.command list;
pre_session : OpamTypes.command list;
post_session : OpamTypes.command list;
}
val pre_build : t -> OpamTypes.command list
val wrap_build : t -> OpamTypes.command list
val post_build : t -> OpamTypes.command list
val pre_install : t -> OpamTypes.command list
val wrap_install : t -> OpamTypes.command list
val post_install : t -> OpamTypes.command list
val pre_remove : t -> OpamTypes.command list
val wrap_remove : t -> OpamTypes.command list
val post_remove : t -> OpamTypes.command list
val pre_session : t -> OpamTypes.command list
val post_session : t -> OpamTypes.command list
val with_pre_build : OpamTypes.command list -> t -> t
val with_wrap_build : OpamTypes.command list -> t -> t
val with_post_build : OpamTypes.command list -> t -> t
val with_pre_install : OpamTypes.command list -> t -> t
val with_wrap_install : OpamTypes.command list -> t -> t
val with_post_install : OpamTypes.command list -> t -> t
val with_pre_remove : OpamTypes.command list -> t -> t
val with_wrap_remove : OpamTypes.command list -> t -> t
val with_post_remove : OpamTypes.command list -> t -> t
val with_pre_session : OpamTypes.command list -> t -> t
val with_post_session : OpamTypes.command list -> t -> t
val empty : t
val add : outer:t -> inner:t -> t