forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix.soy
More file actions
34 lines (29 loc) · 1.07 KB
/
Copy pathfix.soy
File metadata and controls
34 lines (29 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{namespace buck.fix}
/***/
{template .soyweb}
{call buck.page}
{param title: 'buck fix' /}
{param navid: 'command_fix' /}
{param prettify: true /}
{param description}
A command that attempts to fix errors and warnings encountered during the previous command.
{/param}
{param content}
{call buck.command}
{param overview}
<p>Attempts to fix errors and warnings encountered during the previous command.</p>
<p>Commands such as {call buck.cmd_build /} may fail with errors from Buck itself or another tool
(such as a compiler or linker) that is invoked by Buck. In some cases, such errors can be fixed
automatically. In such cases, running
<pre>buck fix</pre>
may fix the error.</p>
<p><code>buck fix</code> prints nothing to the console unless a catastrophic failure occurs.</p>
<p>
Note that <code>buck fix</code> will edit files in place. It is therefore recommended that any
pending changes be saved to source control before running this command.
</p>
{/param}
{/call}
{/param} // content
{/call} // buck.page
{/template}