2016-01-12 21:20:06 +04:00
|
|
|
(* OASIS_START *)
|
|
|
|
(* OASIS_STOP *)
|
|
|
|
# 3 "myocamlbuild.ml"
|
|
|
|
|
2016-04-26 20:03:48 +04:00
|
|
|
module JS = Jane_street_ocamlbuild_goodies
|
2016-01-12 21:20:06 +04:00
|
|
|
|
2016-04-26 20:03:48 +04:00
|
|
|
let dev_mode = true
|
2016-01-12 21:20:06 +04:00
|
|
|
|
|
|
|
let () =
|
|
|
|
Ocamlbuild_plugin.dispatch (fun hook ->
|
2016-04-26 20:03:48 +04:00
|
|
|
JS.alt_cmxs_of_cmxa_rule hook;
|
|
|
|
JS.pass_predicates_to_ocamldep hook;
|
|
|
|
if dev_mode && not Sys.win32 then JS.track_external_deps hook;
|
2016-01-12 21:20:06 +04:00
|
|
|
dispatch_default hook)
|