package opam-format

  1. Overview
  2. Docs

Command wrappers for package scripts

type t = {
  1. pre_build : OpamTypes.command list;
  2. wrap_build : OpamTypes.command list;
  3. post_build : OpamTypes.command list;
  4. pre_install : OpamTypes.command list;
  5. wrap_install : OpamTypes.command list;
  6. post_install : OpamTypes.command list;
  7. pre_remove : OpamTypes.command list;
  8. wrap_remove : OpamTypes.command list;
  9. post_remove : OpamTypes.command list;
  10. pre_session : OpamTypes.command list;
  11. 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
OCaml

Innovation. Community. Security.