summaryrefslogtreecommitdiff
path: root/src/js/dune
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-09-10 20:50:40 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-09-10 20:50:40 +0200
commit040c74ea186f195b8579960d2a74418c38cd9b76 (patch)
tree2bb882c2dc7c18b39bf27187119534e2bd96d302 /src/js/dune
parent1ba97f613c25926f4007fda9e38131fbb8961173 (diff)
Added js code
Diffstat (limited to 'src/js/dune')
-rwxr-xr-xsrc/js/dune18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/js/dune b/src/js/dune
new file mode 100755
index 0000000..9387c5f
--- /dev/null
+++ b/src/js/dune
@@ -0,0 +1,18 @@
+(executable
+ (name tengwar)
+ (libraries
+ brr
+ brr.note
+ application
+ translator
+ sounds
+ )
+ (modes js)
+ (preprocess (pps js_of_ocaml-ppx))
+ (link_flags (:standard -no-check-prims))
+ )
+
+(rule
+ (targets tengwar.js)
+ (deps tengwar.bc.js)
+ (action (copy %{deps} %{targets})))