module Pkg:sig..end
Package description.
type t
The type for package descriptions.
val empty : tempty is an empty package description.
val name : t -> stringname p is p's name.
val delegate : t -> Topkg.Cmd.t optiondelegate pis p's delegate.
val build_dir : t -> Topkg.fpathbuild_dir p is p's build directory.
val readmes : t -> Topkg.fpath listreadme p is p's readme files.
val change_logs : t -> Topkg.fpath listchange_logs p is p's change logs.
val licenses : t -> Topkg.fpath listlicenses p is p's license files.
val opam : name:string -> t -> Topkg.fpathopam name p is p's opam file for opam package name.
val distrib_uri : t -> string optiondistrib_uri p is p's distribution location URI pattern.
See Distrib.
val publish_artefacts : t -> [ `Alt of string | `Distrib | `Doc ] listpublish_artefacts p is p's distribution publication artefacts.
See Publish.
Note. In the following None values mean that
the lint is disabled by the package description.
val lint_custom : t -> (unit -> Topkg.R.msg Topkg.result list) optionlint_custom p is p's custom linting function (if any).
Note. Use Topkg.Private.Ipc.lint_custom to run the function
from another program.
val lint_files : t -> Topkg.fpath list optionlint_files p are p's files to check for existence.
val lint_metas : t -> (Topkg.fpath * bool) listlint_metas p are p's META file to OCamlfind lint.
val lint_opams : t -> (Topkg.fpath * bool * string list option) listlint_opams p are p's opam file opam lint and dependency
lint.
val codec : t Topkg.Private.Codec.tcodec is a codec for package descriptions.