Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚗️ Js_of_ocaml works out of the box! #5

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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