package dune-release

  1. Overview
  2. Docs
type t = [
  1. | `Std_files
  2. | `Opam
]

The type for lints.

val all : t list

all is a list with all lint values.

val lint_packages : dry_run:bool -> dir:Fpath.t -> todo:[ `Opam | `Std_files ] list -> Pkg.t -> string list -> (int, [ `Msg of string ]) Bos_setup.result

lint_packages ~dry_run ~dir ~todo pkg pkg_names performs the lint checks in todo on pkg located in dir for all opam files whose name is in pkg_names, or - if pkg_names is empty - for all packages in dir.

OCaml

Innovation. Community. Security.