summaryrefslogtreecommitdiff
path: root/src/js/dune
diff options
context:
space:
mode:
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})))