We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8399d3b commit acc46e8Copy full SHA for acc46e8
1 file changed
src/bin/dune.ml
@@ -14,8 +14,7 @@ let run path (`Type type_) (`Tred_modules tred_modules) (`Tred_libraries tred_li
14
Fpath.parent f
15
in
16
let+ s = OS.Dir.with_current dir (fun () ->
17
- (* TODO: don't add --with-deps if with_modules = false *)
18
- let dune_describe = Cmd.(v "dune" % "describe" % "workspace" % "--with-deps") in
+ let dune_describe = Cmd.(v "dune" % "describe" % "workspace" %% on with_modules (v "--with-deps")) in
19
match with_pps with
20
| None ->
21
begin match OS.Cmd.(run_out Cmd.(dune_describe % "--with-pps") |> out_string) with
0 commit comments