File tree Expand file tree Collapse file tree 9 files changed +28
-28
lines changed Expand file tree Collapse file tree 9 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -199,15 +199,15 @@ let build =
199199 Scheduler. go_without_rpc_server ~common ~config (fun () ->
200200 let open Fiber.O in
201201 let + build_outcome =
202- Rpc.Common . fire_message
202+ Rpc.Rpc_common . fire_message
203203 ~name: " build"
204204 ~wait: true
205205 ~lock_held_by
206206 builder
207- (Rpc.Common . Request Dune_rpc_impl.Decl. build)
207+ (Rpc.Rpc_common . Request Dune_rpc_impl.Decl. build)
208208 targets
209209 in
210- Rpc.Common . wrap_build_outcome_exn ~print_on_success: true build_outcome)
210+ Rpc.Rpc_common . wrap_build_outcome_exn ~print_on_success: true build_outcome)
211211 | Ok () ->
212212 let request setup =
213213 Target. interpret_targets (Common. root common) config setup targets
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ let info =
77
88let term =
99 let + (builder : Common.Builder.t ) = Common.Builder. term in
10- Rpc.Common . client_term builder (fun () ->
10+ Rpc.Rpc_common . client_term builder (fun () ->
1111 let open Fiber.O in
1212 let + errors =
13- Rpc.Common . fire_message
13+ Rpc.Rpc_common . fire_message
1414 ~name: " diagnostics_cmd"
1515 ~wait: false
1616 builder
17- (Rpc.Common . Request Dune_rpc_private.Procedures.Public. diagnostics)
17+ (Rpc.Rpc_common . Request Dune_rpc_private.Procedures.Public. diagnostics)
1818 ()
1919 in
2020 List. iter errors ~f: (fun err ->
Original file line number Diff line number Diff line change @@ -228,15 +228,15 @@ let build_prog_via_rpc_if_necessary ~dir ~no_rebuild builder lock_held_by prog =
228228 let targets = Rpc.Group.Build. prepare_targets [ target ] in
229229 let open Fiber.O in
230230 let + build_outcome =
231- Rpc.Common . fire_message
231+ Rpc.Rpc_common . fire_message
232232 ~name: " build"
233233 ~wait: true
234234 ~lock_held_by
235235 builder
236- (Rpc.Common . Request Dune_rpc_impl.Decl. build)
236+ (Rpc.Rpc_common . Request Dune_rpc_impl.Decl. build)
237237 targets
238238 in
239- Rpc.Common . wrap_build_outcome_exn ~print_on_success: false build_outcome)
239+ Rpc.Rpc_common . wrap_build_outcome_exn ~print_on_success: false build_outcome)
240240 in
241241 Path. to_absolute_filename path
242242 | Absolute ->
Original file line number Diff line number Diff line change @@ -44,17 +44,17 @@ let run_fmt_command ~common ~config ~preview builder =
4444 | Ok () -> Scheduler. go_with_rpc_server ~common ~config once
4545 | Error lock_held_by ->
4646 (* The --preview flag is being ignored by the RPC server, warn the user. *)
47- if preview then Rpc.Common . warn_ignore_arguments lock_held_by;
47+ if preview then Rpc.Rpc_common . warn_ignore_arguments lock_held_by;
4848 Scheduler. go_without_rpc_server
4949 ~common
5050 ~config
51- (Rpc.Common . fire_message
51+ (Rpc.Rpc_common . fire_message
5252 ~name: " format"
5353 ~wait: true
5454 ~warn_forwarding: false
5555 ~lock_held_by
5656 builder
57- (Rpc.Common . Request Dune_rpc.Procedures.Public. format))
57+ (Rpc.Rpc_common . Request Dune_rpc.Procedures.Public. format))
5858;;
5959
6060let command =
Original file line number Diff line number Diff line change @@ -65,15 +65,15 @@ module Apply = struct
6565 Scheduler. go_without_rpc_server ~common ~config (fun () ->
6666 let open Fiber.O in
6767 let + build_outcome =
68- Rpc.Common . fire_message
68+ Rpc.Rpc_common . fire_message
6969 ~name: " promote_many"
7070 ~wait: true
7171 ~lock_held_by
7272 builder
73- (Rpc.Common . Request Dune_rpc_private.Procedures.Public. promote_many)
73+ (Rpc.Rpc_common . Request Dune_rpc_private.Procedures.Public. promote_many)
7474 files_to_promote
7575 in
76- Rpc.Common . wrap_build_outcome_exn ~print_on_success: true build_outcome)
76+ Rpc.Rpc_common . wrap_build_outcome_exn ~print_on_success: true build_outcome)
7777 ;;
7878
7979 let command = Cmd. v info term
Original file line number Diff line number Diff line change 11module Group = Group
2- module Build = Rpc_build
3- module Common = Rpc_common
4- module Ping = Rpc_ping
5- module Status = Rpc_status
2+ module Rpc_build = Rpc_build
3+ module Rpc_common = Rpc_common
4+ module Rpc_ping = Rpc_ping
5+ module Rpc_status = Rpc_status
Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ let runtest_term =
5151 Scheduler. go_without_rpc_server ~common ~config (fun () ->
5252 let open Fiber.O in
5353 let + build_outcome =
54- Rpc.Common . fire_message
54+ Rpc.Rpc_common . fire_message
5555 ~name: " runtest"
5656 ~wait: false
5757 ~lock_held_by
5858 builder
59- (Rpc.Common . Request Dune_rpc.Procedures.Public. runtest)
59+ (Rpc.Rpc_common . Request Dune_rpc.Procedures.Public. runtest)
6060 dir_or_cram_test_paths
6161 in
62- Rpc.Common . wrap_build_outcome_exn ~print_on_success: true build_outcome)
62+ Rpc.Rpc_common . wrap_build_outcome_exn ~print_on_success: true build_outcome)
6363;;
6464
6565let commands =
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ let info =
77
88let term =
99 let + builder = Common.Builder. term in
10- Rpc.Common . client_term
10+ Rpc.Rpc_common . client_term
1111 builder
12- (Rpc.Common . fire_message
12+ (Rpc.Rpc_common . fire_message
1313 ~name: " shutdown_cmd"
1414 ~wait: false
1515 builder
16- (Rpc.Common . Notification Dune_rpc_private.Procedures.Public. shutdown))
16+ (Rpc.Rpc_common . Notification Dune_rpc_private.Procedures.Public. shutdown))
1717;;
1818
1919let command = Cmd. v info term
Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ let build_dev_tool_via_rpc builder lock_held_by dev_tool =
3838 let targets = Rpc.Group.Build. prepare_targets [ target ] in
3939 let open Fiber.O in
4040 let + build_outcome =
41- Rpc.Common . fire_message
41+ Rpc.Rpc_common . fire_message
4242 ~name: " build"
4343 ~wait: true
4444 ~lock_held_by
4545 builder
46- (Rpc.Common . Request Dune_rpc_impl.Decl. build)
46+ (Rpc.Rpc_common . Request Dune_rpc_impl.Decl. build)
4747 targets
4848 in
49- Rpc.Common . wrap_build_outcome_exn ~print_on_success: false build_outcome
49+ Rpc.Rpc_common . wrap_build_outcome_exn ~print_on_success: false build_outcome
5050;;
5151
5252let lock_and_build_dev_tool ~common ~config builder dev_tool =
You can’t perform that action at this time.
0 commit comments