opam-version: "2.0"
maintainer: "Etienne Millon <etienne@cryptosense.com>"
authors: "Etienne Millon <etienne@cryptosense.com>"
homepage: "https://github.com/cryptosense/ocamllint"
bug-reports: "https://github.com/cryptosense/ocamllint/issues"
license: "BSD-2-Clause"
dev-repo: "git+https://github.com/cryptosense/ocamllint.git"
build: [
  [make "all"]
  [make "check"] {with-test}
]
install: [
    [make "install"]
]
remove: [["ocamlfind" "remove" "ocamllint"]]
depends: [
  "ocaml" {>= "4.02.0" & < "4.04.0"}
  "ocamlfind" {>= "1.5.0"}
  "ounit" {with-test}
  "ppx_tools" {>= "5.0"}
  "ocamlbuild" {build}
]
synopsis: "Detect common errors in OCaml code"
description: """
OCamllint is a ppx plugin that checks for patterns in a OCaml code base:

  - common programming errors: using the wrong kind of comparison, computing
    unused values, going several times through a data structure, etc.
  - enforce style: use snake_case for identifiers, module types in caps, etc."""
flags: light-uninstall
url {
  src: "https://github.com/cryptosense/ocamllint/archive/v0.3.0.tar.gz"
  checksum: "md5=225f5182cdfc40ee6c71ad0367c971ce"
}
