-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call function to extract repro steps in jsoo.
- Loading branch information
1 parent
2551f3f
commit 077b537
Showing
8 changed files
with
102 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
(executable | ||
(modules process_chunk main steps_to_reproduce_build) | ||
(name main) | ||
(modes js) | ||
(preprocess (pps js_of_ocaml-ppx)) | ||
(libraries | ||
js_of_ocaml | ||
ansi | ||
astring | ||
brr | ||
tyxml)) | ||
(preprocess | ||
(pps js_of_ocaml-ppx)) | ||
(libraries ansi astring brr)) | ||
|
||
; (executable | ||
; (modules steps_to_reproduce_build) | ||
; (name steps_to_reproduce_build) | ||
; (modes js) | ||
; (preprocess (pps js_of_ocaml-ppx)) | ||
; (libraries | ||
; brr)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module Ev = Brr.Ev | ||
module El = Brr.El | ||
module At = Brr.At | ||
module Document = Brr.Document | ||
module Window = Brr.Window | ||
|
||
let go first_line_repro_block last_line_repro_block = | ||
(* extractStepsToReproduce is declared in step-page-poll.js | ||
Until it is cut across to jsoo/brr call it directly *) | ||
let extractStepsToReproduce' = Jv.get Jv.global "extractStepsToReproduce" in | ||
let _ = | ||
Jv.apply extractStepsToReproduce' | ||
[| Jv.of_int first_line_repro_block; Jv.of_int last_line_repro_block |] | ||
in | ||
() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
(rule | ||
(deps ../../jsoo/main.bc.js) | ||
(target ./step-logs.js ) | ||
(target ./step-logs.js) | ||
(mode | ||
(promote (until-clean))) | ||
(action (copy %{deps} %{target}))) | ||
(action | ||
(copy %{deps} %{target}))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters