diff options
author | Tomas Abrahamsson <tomas.abrahamsson@gmail.com> | 2013-12-17 15:36:58 +0100 |
---|---|---|
committer | Tomas Abrahamsson <tomas.abrahamsson@gmail.com> | 2014-10-29 23:45:35 +0100 |
commit | 1b367a8b24ad43edbf4734fb306c358d69f7aa40 (patch) | |
tree | dd7be2ed4c63290b766fda21434258f686ad4a98 /rebar.config.sample | |
parent | 0caf047fc3d978189e12dc398d06472eb3d236ad (diff) | |
download | rebar-1b367a8b24ad43edbf4734fb306c358d69f7aa40.tar.gz |
Add support for compiling proto files using gpb
This adds the config option {proto_compiler,gpb} for selecting gpb
as the compiler for protocol buffer files. When gpb is used as
compiler, it reads the gpb_opts config item for options.
Diffstat (limited to 'rebar.config.sample')
-rw-r--r-- | rebar.config.sample | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rebar.config.sample b/rebar.config.sample index d2a7869..107a02f 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -93,7 +93,11 @@ {proto_compiler, protobuffs}. %% Available compilers for protocol buffer files (*.proto): %% protobuffs (default) +%% gpb +%% Options for the gpb protocol buffer compiler, +%% if selected by the proto_compiler option +{gpb_opts, []}. %% == EUnit == |