We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa673e2 commit 6833734Copy full SHA for 6833734
Makefile
@@ -46,4 +46,6 @@ headers:
46
47
.PHONY: bench
48
bench:
49
- @dune build @runbench
+ @dune build bench/test/source_bench.ml
50
+ @dune build bench/bench.exe
51
+ @dune exec bench/bench.exe
bench/bench.ml
@@ -24,7 +24,8 @@ type input =
24
; action: [`Format | `Numeric of range] }
25
26
let inputs =
27
- let source_ml = Stdio.In_channel.read_all "test/source_bench.ml" in
+ let dir = "_build/default/bench/test" in
28
+ let source_ml = Stdio.In_channel.read_all (dir ^ "/source_bench.ml") in
29
[ { name= "format:conventional"
30
; input_name= "source.ml"
31
; kind= Syntax.Structure
0 commit comments