Add a hint for ppx rewriters that are not compatible

Signed-off-by: Jeremie Dimino <jdimino@janestreet.com>
This commit is contained in:
Jeremie Dimino 2018-06-04 12:22:32 +01:00 committed by Jérémie Dimino
parent 898a2ffa02
commit 84f1f9b82b
1 changed files with 3 additions and 1 deletions

View File

@ -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