this repo has no description
at main 29 lines 748 B view raw
1; Generate worker.ml from worker.cppo.ml with conditional OXCAML flag 2 3(rule 4 (targets worker.ml) 5 (deps (:x worker.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 worker.ml) 11 (deps (:x worker.cppo.ml)) 12 (enabled_if %{ocaml-config:ox}) 13 (action (run %{bin:cppo} -V OCAML:%{ocaml_version} -D OXCAML %{x} -o %{targets}))) 14 15(library 16 (name worker) 17 (public_name merlin-js.worker) 18 (ocamlopt_flags (:standard -w -58)) 19 (js_of_ocaml 20 (javascript_files stubs.js)) 21 (preprocess (pps js_of_ocaml-ppx)) 22 (libraries 23 protocol 24 merlin-lib.kernel 25 merlin-lib.utils 26 merlin-lib.query_protocol 27 merlin-lib.query_commands 28 merlin-lib.ocaml_parsing 29 js_of_ocaml))