aboutsummaryrefslogtreecommitdiff
path: root/js/dune
diff options
context:
space:
mode:
Diffstat (limited to 'js/dune')
-rw-r--r--js/dune23
1 files changed, 23 insertions, 0 deletions
diff --git a/js/dune b/js/dune
new file mode 100644
index 0000000..b9477f4
--- /dev/null
+++ b/js/dune
@@ -0,0 +1,23 @@
+(executable
+ (name content)
+ (libraries
+ brr
+ note
+ note.brr
+
+ operators
+ services_impl
+ js_handler
+ brr_string
+ )
+ (modes js)
+ (preprocess (pps js_of_ocaml-ppx))
+ (link_flags (:standard -no-check-prims))
+ (js_of_ocaml (flags :standard --opt 3 --target-env browser --disable genprim --disable debugger))
+ )
+
+(rule
+ (targets content.js)
+ (deps content.bc.js)
+ (action (copy %{deps} %{targets})))
+