# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "An ocamlbuild plugin to compile to JavaScript using js_of_ocaml"
description:
  "An ocamlbuild plugin to compile to JavaScript using js_of_ocaml"
maintainer: ["Ocsigen team <dev@ocsigen.org>"]
authors: ["Ocsigen team <dev@ocsigen.org>"]
license:
  "GPL-2.0-or-later AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/ocsigen/js_of_ocaml-ocamlbuild"
doc: "https://github.com/ocsigen/js_of_ocaml-ocamlbuild"
bug-reports: "https://github.com/ocsigen/js_of_ocaml-ocamlbuild/issues"
depends: [
  "dune" {>= "2.9"}
  "ocaml" {>= "4.04"}
  "ocamlbuild"
  "odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml-ocamlbuild.git"
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "--promote-install-files=false"
    "@install"
    "@doc" {with-doc}
  ]
  ["dune" "install" "-p" name "--create-install-files" name]
]
