File: tools_common.mli

package info (click to toggle)
ocaml-dune 3.20.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,564 kB
  • sloc: ml: 175,178; asm: 28,570; ansic: 5,251; sh: 1,096; lisp: 625; makefile: 148; python: 125; cpp: 48; javascript: 10
file content (15 lines) | stat: -rw-r--r-- 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
open! Import

(** Generate a lockdir for a dev tool, build the dev tool, then run the dev
    tool. If a step is unnecessary then it is skipped. This function does not
    return, but starts running the dev tool in place of the current process. *)
val lock_build_and_run_dev_tool
  :  common:Common.t
  -> config:Dune_config_file.Dune_config.t
  -> Dune_pkg.Dev_tool.t
  -> args:string list
  -> 'a

val which_command : Dune_pkg.Dev_tool.t -> unit Cmd.t
val install_command : Dune_pkg.Dev_tool.t -> unit Cmd.t
val exec_command : Dune_pkg.Dev_tool.t -> unit Cmd.t