val v : ?name:string -> ?version:string -> ?delegate:Bos_setup.Cmd.t -> ?build_dir:Fpath.t -> ?opam:Fpath.t -> ?opam_descr:Fpath.t -> ?readme:Fpath.t -> ?change_log:Fpath.t -> ?license:Fpath.t -> ?distrib_uri:string -> ?distrib_file:Fpath.t -> ?publish_msg:string -> ?publish_artefacts:[ `Distrib | `Doc | `Alt of string ] list -> Fpath.t -> t
v pkg_file is a package from description file
pkg_file which is loaded only if needed. The optional parameters allow to override
delegate p is
build_dir p is
p's build directory.
opam_descr p is
p's opam description. The boolean indicates if the description was found in the opam file itself.
opam_field p f looks up field
p's opam file.
opam_fields p are
p's opam file fields.
readmes p are
p's readme files.
readme p is the first element of
change_logs p are
p's change logs.
change_log p is the first element of
licenses p are
p's license files.
distrib_uri p is
p's distribution URI. If
true defaults to
p's raw URI distribution pattern is returned.
distrib_file p is
p's distribution archive.
publish_msg p is
p's distribution publication message.
distrib_archive p ~keep_dir creates a distribution archive for
p and returns its path. If
true the repository checkout used to create the distribution archive is kept in the build directory.
distrib_filename ~opam p is a distribution filename for
true (defaults to
false), the name follows opam's naming conventions.
val publish_artefacts : t -> ( [ `Distrib | `Doc | `Alt of string ] list, Bos_setup.R.msg ) Bos_setup.result
publish_artefacts p are
p's publication artefacts.
val lint_all : lint list
lint_all is a list with all lint values.