aboutsummaryrefslogtreecommitdiff
path: root/script.it/dune
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-01-02 16:20:42 +0100
committerSébastien Dailly <sebastien@chimrod.com>2021-01-02 16:20:42 +0100
commit20addbe8fd0ac4c79c8a69a4f888ec320a9ca4c3 (patch)
tree2c3f0b13a8037500bb58504aadc13315c301f1f9 /script.it/dune
parent3d3ac5d05cf2851444b835b5bbc0236111f53673 (diff)
Refactor
Diffstat (limited to 'script.it/dune')
-rwxr-xr-xscript.it/dune26
1 files changed, 26 insertions, 0 deletions
diff --git a/script.it/dune b/script.it/dune
new file mode 100755
index 0000000..1536f2b
--- /dev/null
+++ b/script.it/dune
@@ -0,0 +1,26 @@
+(executables
+ (names script)
+ (libraries
+ js_of_ocaml
+ brr
+ brr.note
+ vg
+ vg.htmlc
+ messages
+ messages_json
+ worker
+ shapes
+ tools
+ elements
+ blog
+ path
+ )
+ (modes js)
+ (preprocess (pps ppx_hash))
+ (link_flags (:standard -no-check-prims))
+ )
+
+(rule
+ (targets script.js)
+ (deps script.bc.js)
+ (action (run cp %{deps} %{targets})))