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.

2 lines
3.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Buck (infer.InferModules.Buck)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">InferModules</a> &#x00BB; Buck</nav><h1>Module <code>InferModules.Buck</code></h1></header><dl><dt class="spec value" id="val-buck_config"><a href="#val-buck_config" class="anchor"></a><code><span class="keyword">val</span> buck_config : <span><span>string list</span> <a href="../../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Lazy.t</span></code></dt><dt class="spec value" id="val-parse_command_and_targets"><a href="#val-parse_command_and_targets" class="anchor"></a><code><span class="keyword">val</span> parse_command_and_targets : <span>filter_kind:<span>[&lt; `Yes <span>| `No</span> <span>| `Auto</span> ]</span></span> <span>&#45;&gt;</span> <span>dep_depth:<span><span>int option</span> option</span></span> <span>&#45;&gt;</span> <span>string list</span> <span>&#45;&gt;</span> string * <span>string list</span> * <span>string list</span></code></dt></dl><dl><dt class="spec type" id="type-flavored_arguments"><a href="#type-flavored_arguments" class="anchor"></a><code><span class="keyword">type</span> flavored_arguments</code><code> = </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 : <span>string list</span>;</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 : <span>string list</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-add_flavors_to_buck_arguments"><a href="#val-add_flavors_to_buck_arguments" class="anchor"></a><code><span class="keyword">val</span> add_flavors_to_buck_arguments : <span>filter_kind:<span>[&lt; `Yes <span>| `No</span> <span>| `Auto</span> ]</span></span> <span>&#45;&gt;</span> <span>dep_depth:<span><span>int option</span> option</span></span> <span>&#45;&gt;</span> <span>extra_flavors:<span>string list</span></span> <span>&#45;&gt;</span> <span>string list</span> <span>&#45;&gt;</span> <a href="index.html#type-flavored_arguments">flavored_arguments</a></code></dt><dd><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></dd></dl><dl><dt class="spec value" id="val-store_args_in_file"><a href="#val-store_args_in_file" class="anchor"></a><code><span class="keyword">val</span> store_args_in_file : <span>string list</span> <span>&#45;&gt;</span> <span>string list</span></code></dt><dd><p>Given a list of arguments, stores them in a file if needed and returns the new command line</p></dd></dl><dl><dt class="spec value" id="val-filter_compatible"><a href="#val-filter_compatible" class="anchor"></a><code><span class="keyword">val</span> filter_compatible : <span>[&gt; `Targets ]</span> <span>&#45;&gt;</span> <span>string list</span> <span>&#45;&gt;</span> <span>string list</span></code></dt><dd><p>keep only the options compatible with the given Buck subcommand</p></dd></dl></div></body></html>