aboutsummaryrefslogtreecommitdiff
path: root/editor/dune
diff options
context:
space:
mode:
Diffstat (limited to 'editor/dune')
-rwxr-xr-xeditor/dune17
1 files changed, 17 insertions, 0 deletions
diff --git a/editor/dune b/editor/dune
new file mode 100755
index 0000000..c87962c
--- /dev/null
+++ b/editor/dune
@@ -0,0 +1,17 @@
+(executable
+ (name editor)
+ (libraries
+ brr
+ brr.note
+ elements
+ blog
+ )
+ (modes js)
+ (preprocess (pps js_of_ocaml-ppx))
+ (link_flags (:standard -no-check-prims))
+ )
+
+(rule
+ (targets editor.js)
+ (deps editor.bc.js)
+ (action (copy %{deps} %{targets})))