FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
buck/docs/rule/lua_binary.soy at master · runningcode/buck · GitHub
runningcode
/
buck
Public
forked from
facebook/buck
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
buck
/
docs
/
rule
/
lua_binary.soy
Copy path
More file actions
More file actions
Latest commit
History
History
History
71 lines (58 loc) · 1.29 KB
Breadcrumbs
buck
/
docs
/
rule
/
lua_binary.soy
Copy path
File metadata and controls
71 lines (58 loc) · 1.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
namespace
lua_binary
}
/***/
{
template
.soyweb
}
{
call
buck.page
}
{
param
title:
'lua_binary()'
/}
{
param
navid:
'rule_lua_binary'
/}
{
param
prettify:
true /}
{
param
description
}
A rule that is used to build a executable that uses Lua sources
from all transitive lua_library() dependencies.
{/
param
}
{
param
content
}
{
call
buck.rule
}
{
param
status:
'UNFROZEN'
/}
{
param
overview
}
A <
code
>lua_library()</
code
> rule is used to group together Lua sources
to be packaged into a top-level {
call
buck.lua_binary
/} rule.
{/
param
}
{
param
args
}
{
call
buck.arg
}
{
param
name:
'name'
/}
{
param
desc
}
The name of the rule.
{/
param
}
{/
call
}
{
call
buck.arg
}
{
param
name:
'main_module'
/}
{
param
desc
}
The module which serves as the entry point for this rule.
{/
param
}
{/
call
}
{
call
buck.arg
}
{
param
name:
'deps'
/}
{
param
default :
'[]'
/}
{
param
desc
}
{
call
buck.lua_library
/} rules to this binary will access.
{/
param
}
{/
call
}
{/
param
} // close args
{
param
examples
}
{
literal
}<pre class="prettyprint lang-py">
lua_binary(
name = 'tailer',
main_module = 'tailer',
deps = [
':tailerutils',
],
)
lua_library(
name = 'tailerutils',
srcs = glob(['*.lua']),
)
</pre>{/
literal
}
{/
param
}
{/
call
} // close buck.rule
{/
param
}
{/
call
}
{
/template
}
Back
|
FazBrowse Home
|
New Git URL