forked from vizor-games/infraworld-protobuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
protobuild.yml
52 lines (41 loc) · 1.73 KB
/
protobuild.yml
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
# ! Note that you may change working directory via --workdir command line option to provide custom directory being
# searched for config file. Working directory is also a root directory for all relative paths to the config.
# Folder being searched for *.proto files.
#
# Path can be either absolute, or relative to the working directory.
proto_root: '/path/to/proto'
# Folder, where generated files will be put.
#
# Path can be either absolute, or relative to the working directory.
gen_root: '/path/to/gen'
# Path to the protoc and grpc plugins, being used for code generation. Since these binaries are platform-dependent,
# the provided path does not include the 'platform' folder suffix, which is:
# - 'Mac' for Mac OS
# - 'Linux' for any compatible linux distributive
# - 'Win64' for x64 windows distributive
#
# You may build these programs using build scripts from the Infraworld Runtime as well as use installed programs.
#
# Path can be either absolute, or relative to the working directory.
programs_root: '/path/to/GrpcPrograms'
# Supported by protoc: [cpp, csharp, js, objc, php, python, ruby]
# Supported by protoc-gen-go: go
# Supported by protoc-gen-java: java
languages:
- cpp
- go
# Possible extensions of proto files
extensions:
- proto
- prt
# ! Note that boolean options might be overriden with environment variables.
# Regenerate all (yes) or just changes (no)
force: no
# Generate both GRPC transport code and proto-buffers (yes), or just proto-buffers (no)
transport: yes
# Do verbose output of anything (yes) or be silent (no)
verbose: no
# Wipe generated artifacts from missing *.proto files or unused languages (yes) or do nothing (no)
wipe: yes
# Show error messages gently (yes) or as full stack traces (no).
porcelain: yes