Skip to content

Commit

Permalink
Set dune root explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysxia committed May 25, 2022
1 parent a765baf commit c979df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/quickChick.mlg.cppo
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ let define_and_run c env evd =
(* let sed_cmd = Printf.sprintf "sed '2i (name %s)' %s > %s" (Filename.chop_extension (Filename.basename mlf)) s (dir ^ "/" ^ s) in *)
ignore (Sys.command awk_cmd);
(* The command is just dune build *)
Printf.sprintf "cd %s && dune build --display=quiet > build.log 2> build.err" dir
Printf.sprintf "cd %s && dune build --root=. --display=quiet > build.log 2> build.err" dir
in
(* Overwrite execn in case of dune *)
let execn =
Expand Down

0 comments on commit c979df5

Please sign in to comment.