aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))