summaryrefslogtreecommitdiff
path: root/viz.js/dune
blob: d6eba673a661e91bc992ad01cdd12909d256c56e (plain)
1
2
3
4
5
6
7
8
9
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { col
(executable
 (name convert)
 (libraries 
   js_of_ocaml 
   js_of_ocaml-lwt
   promise
   process
   )
 (modes js)
 (preprocess (pps js_of_ocaml-ppx))
 (link_flags (:standard -no-check-prims))
 (modules convert dispatch CanvasTool)
 )

(rule
  (targets convert.js)
  (deps convert.bc.js)
  (action (copy %{deps} %{targets})))

(executable
 (name worker)
 (libraries 
   js_of_ocaml 
   js_of_ocaml-lwt
   promise
   process
   )
 (modes js)
 (preprocess (pps js_of_ocaml-ppx))
 (link_flags (:standard -no-check-prims))
 (modules worker)
 )

(rule
  (targets worker.js)
  (deps worker.bc.js)
  (action (copy %{deps} %{targets})))