(* -*- tuareg -*- *)

let preprocess =
   match Sys.getenv "BISECT_ENABLE" with
   | "yes" -> "(preprocess (pps bisect_ppx))"
   | _ -> ""
   | exception _ -> ""

let () = Jbuild_plugin.V1.send @@ {|

(library
 (public_name lwt_react)
 (synopsis "Reactive programming helpers for Lwt")
 (wrapped false)
 (libraries lwt react)
 |} ^ preprocess ^ {|
 (flags (:standard -w +A)))

|}
