You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
898 B
23 lines
898 B
(*
|
|
* Copyright (c) 2016 - present Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*)
|
|
|
|
(** is this a Buck target string, eg //foo/bar:baz or boo//foo/bar:baz *)
|
|
val is_target_string : string -> bool
|
|
|
|
(** prints an error that no Buck targets were identified in the given list, and exits *)
|
|
val no_targets_found_error_and_exit : string list -> unit
|
|
|
|
(** Add infer flavors to the targets in the given buck command, depending on the infer analyzer. For
|
|
instance, in capture mode, the buck command:
|
|
buck build //foo/bar:baz#some,flavor
|
|
becomes:
|
|
buck build //foo/bar:baz#infer-capture-all,some,flavor
|
|
*)
|
|
val add_flavors_to_buck_command : string list -> string list
|