Skip to content

Commit 54851dd

Browse files
committed
refactor: Disable debug flags
1 parent 1ec3af6 commit 54851dd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/grader/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
(rule
5555
(target testing_dyn.js)
5656
(deps testing_dyn.cma)
57-
(action (run js_of_ocaml %{deps} --wrap-with dynload --pretty)))
57+
(action (run js_of_ocaml %{deps} --wrap-with dynload)))
5858

5959
(rule
6060
(targets test_lib.odoc)

src/repo/learnocaml_precompile_exercise.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let ocamlc ?(dir=Sys.getcwd ()) ?(opn=[]) ?(ppx=[]) ~source ~target args =
4242
let jsoo ?(dir=Sys.getcwd ()) ~source ~target args =
4343
let d = Filename.concat dir in
4444
if is_fresh ~dir target [source] then Lwt.return_unit else
45-
let args = "--wrap-with=dynload" :: "--pretty" :: args in
45+
let args = "--wrap-with=dynload" :: args in
4646
let args = args @ [d source; "-o"; d target] in
4747
run "js_of_ocaml" args
4848

src/toploop/dune

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
(libraries js_of_ocaml-compiler toploop)
2323
(modules Toploop_jsoo)
2424
(preprocess (pps js_of_ocaml-ppx))
25-
(js_of_ocaml (flags :standard --pretty))
2625
)
2726

2827
(library

0 commit comments

Comments
 (0)