Skip to content

Commit

Permalink
⚗️ Js_of_ocaml works out of the box! (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeta611 authored Nov 26, 2024
1 parent b906d88 commit 838c375
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(executable
(public_name react_trace)
(name main)
(modes exe js)
(preprocess
(pps ppx_jane))
(libraries react_trace base logs logs.fmt fmt fmt.tty))
7 changes: 7 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(env
(_
(js_of_ocaml
(flags
(:standard --enable effects))
(build_runtime_flags
(:standard --enable effects)))))
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
(ocaml-base-compiler
(= 5.2.0))
core
js_of_ocaml-compiler
flow_parser
fmt
logs
Expand Down
1 change: 1 addition & 0 deletions react_trace.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ depends: [
"dune" {>= "3.15"}
"ocaml-base-compiler" {= "5.2.0"}
"core"
"js_of_ocaml-compiler"
"flow_parser"
"fmt"
"logs"
Expand Down

0 comments on commit 838c375

Please sign in to comment.