summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClombrong <clombrong@egregore.fun>2025-04-21 13:04:27 +0200
committerClombrong <cromblong@egregore.fun>2025-04-21 13:04:27 +0200
commitca9611cef50cf81c47fcac3b1a8ef972b2d3dbf5 (patch)
tree88e102108c00d0cfe7ed29caa18ee39060cdbc04
parente12c89058150c71a74cea9f042c6816058a120c1 (diff)
feat: try js compilation
-rw-r--r--dune-project2
-rw-r--r--flesh.opam1
-rw-r--r--test/dune3
3 files changed, 5 insertions, 1 deletions
diff --git a/dune-project b/dune-project
index 883d482..7d0b0e4 100644
--- a/dune-project
+++ b/dune-project
@@ -24,6 +24,8 @@
ocaml
dune
lwt
+ (js_of_ocaml-compiler
+ :with-test)
(merlin :with-test))
(tags
(xmpp lwt)))
diff --git a/flesh.opam b/flesh.opam
index ef1a579..713a01a 100644
--- a/flesh.opam
+++ b/flesh.opam
@@ -13,6 +13,7 @@ depends: [
"ocaml"
"dune" {>= "3.11"}
"lwt"
+ "js_of_ocaml-compiler" {with-test}
"merlin" {with-test}
"odoc" {with-doc}
]
diff --git a/test/dune b/test/dune
index bac5086..8c9e918 100644
--- a/test/dune
+++ b/test/dune
@@ -1,3 +1,4 @@
(test
(name flesh_hello)
- (libraries flesh lwt))
+ (libraries flesh lwt)
+ (modes js (best exe)))