-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathProtocol Buffer.sublime-build
50 lines (50 loc) · 1.07 KB
/
Protocol Buffer.sublime-build
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
{
"cmd": [
"protoc",
"-I=$file_path",
"--cpp_out=$file_path",
"--java_out=$file_path",
"--python_out=$file_path",
"--go_out=$file_path",
"$file"
],
"selector": "source.proto",
"variants": [
{
"name": "C++",
"cmd": [
"protoc",
"-I=$file_path",
"--cpp_out=$file_path",
"$file"
]
},
{
"name": "Java",
"cmd": [
"protoc",
"-I=$file_path",
"--java_out=$file_path",
"$file"
]
},
{
"name": "Python",
"cmd": [
"protoc",
"-I=$file_path",
"--python_out=$file_path",
"$file"
]
},
{
"name": "Go",
"cmd": [
"protoc",
"-I=$file_path",
"--go_out=$file_path",
"$file"
]
}
]
}