(lang dune 3.16)
(name odd)

(cram enable)

(generate_opam_files true)

(source (github jonludlam/odd))
(license ISC)
(authors "Jon Ludlam <jon@recoil.org>")
(maintainers "Jon Ludlam <jon@recoil.org>")

(package
 (name odd)
 (synopsis "Keep an opam switch's documentation up to date via opam hooks")
 (description
  "odd wires opam's post-install, post-remove and post-session hooks \
   to an odoc driver so that the HTML documentation of every package \
   installed in a switch is regenerated incrementally, in dependency order, \
   after each opam invocation.")
 (depends
  (ocaml (>= 5.2.0))
  (cmdliner (>= 1.3.0))
  (bos (>= 0.2.1))
  (fpath (>= 0.7.3))
  (opam-format (>= 2.2.0))
  sherlodoc
  odoc
  ; Dependencies of the vendored driver (driver/), temporary pending upstreaming.
  odoc-md
  progress
  yojson
  ocamlfind
  logs
  eio
  sexplib
  ppx_sexp_conv))
