mte/unikernel/duniverse/dune_/bin/rpc/rpc_build.mli
2025-11-11 02:07:51 +01:00

13 lines
501 B
OCaml

open! Import
(** Sends a command to an RPC server to build the specified targets and wait
for the build to complete or fail. If [wait] is true then wait until an RPC
server is running before making the request. Otherwise if no RPC server is
running then raise a [User_error]. *)
val build
: wait:bool
-> Dune_lang.Dep_conf.t list
-> (Dune_rpc.Build_outcome_with_diagnostics.t, Dune_rpc.Response.Error.t) result Fiber.t
(** dune rpc build command *)
val cmd : unit Cmdliner.Cmd.t