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.03.0"}
  "ocamlfind" {>= "1.5.0"}
  "ounit" {with-test}
  "ppx_tools"
]
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.2.0.tar.gz"
  checksum: "md5=f09848b2dd24fb574a1d50545cac08ea"
}
