# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.2"
synopsis: "Redirect and capture output written to out_channels"
description: """
An OCaml library for redirecting and capturing output written to out_channels, with support
for native, JavaScript (js_of_ocaml), and WebAssembly (wasm_of_ocaml) targets."""
maintainer: ["hugo.heuzard@gmail.com"]
authors: ["Hugo Heuzard"]
license: "MIT"
homepage: "https://github.com/hhugo/out-channel-redirect"
doc: "https://ocaml.org/p/out-channel-redirect"
bug-reports: "https://github.com/hhugo/out-channel-redirect/issues"
depends: [
  "dune" {>= "3.17"}
  "ocaml" {>= "4.11"}
  "ocamlformat" {= "0.28.1" & with-dev-setup}
  "js_of_ocaml" {with-test}
  "odoc" {with-doc}
]
depopts: [
  "wasm_of_ocaml-compiler" {with-test}
]
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/hhugo/out-channel-redirect.git"
