Skip to content

Commit

Permalink
fix dune file for pgx_lwt_unix
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragsoni committed May 3, 2020
1 parent 6079cbe commit 1d68a8a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pgx_lwt_unix/src/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
(* -*- tuareg -*- *)

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

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

(library
(public_name pgx_lwt_unix)
(libraries pgx pgx_lwt lwt.unix))
(libraries pgx pgx_lwt lwt.unix)
|} ^ preprocess ^ {|)
|}

0 comments on commit 1d68a8a

Please sign in to comment.