Skip to content

Commit

Permalink
Add a hint for ppx rewriters that are not compatible
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremie Dimino <jdimino@janestreet.com>
  • Loading branch information
Jeremie Dimino authored and jeremiedimino committed Jun 5, 2018
1 parent 898a2ff commit 84f1f9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/preprocessing.ml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ let no_driver_error pps =
| None ->
sprintf
"No ppx driver found.\n\
It seems that these ppx rewriters are not compatible with jbuilder."
It seems that these ppx rewriters are not compatible with Dune.\n\
Hint: Examples of ppx rewriters that are compatible with Dune are\n\
ones using ocaml-migrate-parsetree, ppxlib or ppx_driver."

let build_ppx_driver sctx ~lib_db ~dep_kind ~target ~dir_kind pps =
let ctx = SC.context sctx in
Expand Down

0 comments on commit 84f1f9b

Please sign in to comment.