opam-version: "2.0"
synopsis:
  "Project scaffolding tool and set of templates for Reason and OCaml"
description: """
Project scaffolding tool and set of templates for Reason and OCaml
"""
maintainer: ["Thibaut Mattio"]
authors: ["Thibaut Mattio"]
license: "MIT"
homepage: "https://github.com/tmattio/spin"
doc: "https://tmattio.github.io/spin"
bug-reports: "https://github.com/tmattio/spin/issues"
depends: [
  "ocaml" {>= "4.06.0"}
  "dune" {>= "2.0"}
  "odoc" {with-doc}
  "reason" {build}
  "base" {< "v0.15"}
  "stdio" {< "v0.15"}
  "cmdliner"
  "fileutils"
  "jingoo" {>= "1.3.0"}
  "lwt"
  "ppx_sexp_conv" {< "v0.15"}
  "sexplib" {< "v0.15"}
]
dev-repo: "git+https://github.com/tmattio/spin.git"
# We need to avoid "@runtest", since it depends on rely
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@doc" {with-doc}
  ]
]
url {
  src:
    "https://github.com/tmattio/spin/releases/download/0.5.0/spin-0.5.0.tbz"
  checksum: [
    "sha256=99368bedae2b37dc243027c49b8465ea4891864cf01a193d6b99751458428443"
    "sha512=55de0b9d973ac6de9586950b314ef2d396c52e8cc61427b48c9b65a25770305053a2c274497649e37cb1b8584f9b3a2d2b9b03427437344ca250649ab51dc3c6"
  ]
}
