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.1/spin-0.5.1.tbz"
  checksum: [
    "sha256=63f80ce6baa89438f3b5b5f0a07fe8ec3648a0af2116f64d1ced0a55e1db1452"
    "sha512=15df032c37f5bebab26e36b732c8c4fd5e63ade258a4c045e601f61fe142c01757e83a3903e76114e606ef7aea0bb46f998f98bf94dde40c07168cf5e009be22"
  ]
}
