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.

6 lines
3.1 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__Buck (infer.InferModules__Buck)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules__Buck</span></h1></header><div class="spec type" id="type-flavored_arguments"><a href="#type-flavored_arguments" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>flavored_arguments</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-flavored_arguments.command" class="anchored"><td class="def field"><a href="#type-flavored_arguments.command" class="anchor"></a><code>command : string;</code></td></tr><tr id="type-flavored_arguments.rev_not_targets" class="anchored"><td class="def field"><a href="#type-flavored_arguments.rev_not_targets" class="anchor"></a><code>rev_not_targets : string list;</code></td></tr><tr id="type-flavored_arguments.targets" class="anchored"><td class="def field"><a href="#type-flavored_arguments.targets" class="anchor"></a><code>targets : string list;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-add_flavors_to_buck_arguments"><a href="#val-add_flavors_to_buck_arguments" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>add_flavors_to_buck_arguments : filter_kind:[&lt; `Yes | `No | `Auto ] <span class="keyword">&#8209;&gt;</span> dep_depth:int option option <span class="keyword">&#8209;&gt;</span> extra_flavors:string list <span class="keyword">&#8209;&gt;</span> string list <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-flavored_arguments">flavored_arguments</a></code></div><div class="doc"><p>Add infer flavors to the targets in the given buck arguments, depending on the infer analyzer. For
instance, in capture mode, the buck command:
build //foo/bar:baz#some,flavor
becomes:
build //foo/bar:baz#infer-capture-all,some,flavor</p></div></div><div class="spec val" id="val-store_args_in_file"><a href="#val-store_args_in_file" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>store_args_in_file : string list <span class="keyword">&#8209;&gt;</span> string list</code></div><div class="doc"><p>Given a list of arguments, stores them in a file if needed and returns the new command line</p></div></div><div class="spec val" id="val-filter_compatible"><a href="#val-filter_compatible" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>filter_compatible : [&gt; `Targets ] <span class="keyword">&#8209;&gt;</span> string list <span class="keyword">&#8209;&gt;</span> string list</code></div><div class="doc"><p>keep only the options compatible with the given Buck subcommand</p></div></div></body></html>