opam-version: "2.0"

synopsis: "Partitioning OCaml codes"
description:
"""
Asak provides functions to parse, type-check and identify similar OCaml codes.
These functions are then used to partition codes implementing the same function and help to factorize existing code.
"""

maintainer: ["alexandre@moine.me"]
authors: ["Alexandre Moine"]
license: "MIT"

homepage: "https://github.com/nobrakal/asak"
doc: "https://nobrakal.github.io/asak/asak/index.html"
bug-reports: "https://github.com/nobrakal/asak/issues"
dev-repo: "git+https://github.com/nobrakal/asak.git"

depends: [
  "ocaml" {>= "4.05" & < "4.09.0"}
  "dune" {> "1.5"}
  "cppo" {build & >= "1.6.0"}
  "odoc" {with-doc & >= "1.2.0"}
]

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]

url {
  src:
    "https://github.com/nobrakal/asak/archive/0.1.tar.gz"
  checksum: [
    "sha256=dc0865360eae205ec059b61d6f38785815029f3c194ecffdedf88bd6bd3bc687"
    "sha512=9825500b6064f32f65fea7bc8dbabbed3ecc6e05dd79cbd23634efa61607b787fb0cd44fa549f9181064779eed98b9cb37675007253cbaf025c8e02c9e08f3b5"
  ]
}
