some progress
This commit is contained in:
81
dune
81
dune
@ -1,40 +1,43 @@
|
||||
(env
|
||||
(dev (flags (:standard -warn-error -A))))
|
||||
|
||||
(executables
|
||||
(names toplevel)
|
||||
(names cors_proxy)
|
||||
(libraries httpaf httpaf-lwt-unix base stdio fmt http-lwt-client)
|
||||
(modules cors_proxy)
|
||||
)
|
||||
|
||||
(library (name store)
|
||||
(libraries
|
||||
js_of_ocaml-compiler
|
||||
js_of_ocaml-tyxml
|
||||
js_of_ocaml-toplevel
|
||||
lwt
|
||||
js_of_ocaml-lwt
|
||||
digestif.ocaml
|
||||
checkseum.ocaml
|
||||
irmin.mem
|
||||
git
|
||||
irmin-git
|
||||
cohttp-lwt-jsoo
|
||||
mimic
|
||||
js_of_ocaml)
|
||||
(modules store)
|
||||
(preprocess
|
||||
(pps js_of_ocaml-ppx)))
|
||||
|
||||
(executables
|
||||
(names oplevel)
|
||||
(libraries
|
||||
store
|
||||
js_of_ocaml-compiler js_of_ocaml-tyxml js_of_ocaml-toplevel
|
||||
lwt js_of_ocaml-lwt
|
||||
;; not used directly
|
||||
graphics
|
||||
js_of_ocaml.deriving
|
||||
react
|
||||
reactiveData
|
||||
str
|
||||
dynlink
|
||||
(select
|
||||
ocp_indent.ml
|
||||
from
|
||||
(ocp-indent.lib -> ocp_indent.ok.ml)
|
||||
(-> ocp_indent.fake.ml))
|
||||
(select
|
||||
colorize.ml
|
||||
from
|
||||
(higlo -> colorize.higlo.ml)
|
||||
(!higlo -> colorize.fake.ml))
|
||||
(select
|
||||
graphics_support.ml
|
||||
from
|
||||
(js_of_ocaml-lwt.graphics -> graphics_support.enabled.ml)
|
||||
(-> graphics_support.disabled.ml))
|
||||
(select
|
||||
ppx_support.ml
|
||||
from
|
||||
(js_of_ocaml-ppx -> ppx_support.enabled.ml)
|
||||
(-> ppx_support.disabled.ml)))
|
||||
react reactiveData
|
||||
str dynlink
|
||||
ocp-indent.lib
|
||||
higlo
|
||||
js_of_ocaml-lwt.graphics
|
||||
js_of_ocaml-ppx)
|
||||
(flags
|
||||
(:standard -rectypes))
|
||||
(:standard -rectypes -warn-error -A))
|
||||
(link_flags
|
||||
(:standard -linkall))
|
||||
(modes byte js)
|
||||
@ -42,7 +45,7 @@
|
||||
(link_flags (:standard))
|
||||
(build_runtime_flags
|
||||
(:standard
|
||||
+toplevel.js
|
||||
;; +oplevel.js
|
||||
+dynlink.js
|
||||
--file
|
||||
%{dep:examples.ml}
|
||||
@ -52,10 +55,10 @@
|
||||
%{dep:test_dynlink.js}))
|
||||
(flags
|
||||
(:standard
|
||||
--toplevel
|
||||
--toplevel
|
||||
(:include effects_flags.sexp))))
|
||||
(modules
|
||||
(:standard \ test_dynlink examples effects_flags))
|
||||
oplevel toplevel ppx_support graphics_support colorize ocp_indent indent b64)
|
||||
(preprocess
|
||||
(pps js_of_ocaml-ppx)))
|
||||
|
||||
@ -84,11 +87,9 @@
|
||||
-o
|
||||
%{targets}
|
||||
stdlib
|
||||
graphics
|
||||
str
|
||||
dynlink
|
||||
js_of_ocaml-compiler.runtime
|
||||
js_of_ocaml-lwt.graphics
|
||||
js_of_ocaml.graphics
|
||||
js_of_ocaml-ppx.as-lib
|
||||
js_of_ocaml.deriving
|
||||
lwt
|
||||
@ -120,7 +121,7 @@
|
||||
(run ./effects_flags.exe txt))))
|
||||
|
||||
(rule
|
||||
(targets toplevel.js)
|
||||
(targets oplevel.js)
|
||||
(action
|
||||
(run
|
||||
%{bin:js_of_ocaml}
|
||||
@ -141,10 +142,10 @@
|
||||
--toplevel
|
||||
--disable
|
||||
shortvar
|
||||
%{dep:toplevel.bc}
|
||||
%{dep:oplevel.bc}
|
||||
-o
|
||||
%{targets})))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(deps toplevel.js toplevel.bc.js index.html))
|
||||
(deps oplevel.js oplevel.bc.js index.html))
|
||||
|
||||
Reference in New Issue
Block a user