this repo has no description
at main 38 lines 840 B view raw
1; Generate jtw_client.ml from cppo source with conditional OXCAML flag 2 3(rule 4 (targets jtw_client.ml) 5 (deps (:x jtw_client.cppo.ml)) 6 (enabled_if (not %{ocaml-config:ox})) 7 (action (run %{bin:cppo} -V OCAML:%{ocaml_version} %{x} -o %{targets}))) 8 9(rule 10 (targets jtw_client.ml) 11 (deps (:x jtw_client.cppo.ml)) 12 (enabled_if %{ocaml-config:ox}) 13 (action (run %{bin:cppo} -V OCAML:%{ocaml_version} -D OXCAML %{x} -o %{targets}))) 14 15(executable 16 (name x_ocaml) 17 (libraries 18 brr 19 code-mirror 20 js_top_worker-client.msg 21 lwt 22 merlin-js.client 23 merlin-js.code-mirror 24 merlin-js.protocol 25 x_protocol) 26 (modes js) 27 (js_of_ocaml 28 (javascript_files oxcaml_stubs.js) 29 (sourcemap no)) 30 (preprocess 31 (pps ppx_blob)) 32 (preprocessor_deps 33 (file style.css))) 34 35(install 36 (package x-ocaml) 37 (section share) 38 (files (x_ocaml.bc.js as x-ocaml.js)))