This is a rebar3 style plugin to compile protobuffs as part of a project build cycle. This code is rooted as a port from rebar, originally implemented by Tomas Abrahamsson and Dave Smith, with additional modifications by the Basho team.
$ rebar3 compile
Add the plugin to your rebar3 config:
{plugins, [
{ rebar3_protobuf_plugin, ".*", {git, "git@host:user/rebar3_protobuf_plugin.git", {tag, "0.0.1"}}}
]}.
Then just call your plugin directly in an existing application:
$ rebar3 rebar3_protobuf_plugin
===> Fetching rebar3_protobuf_plugin
===> Compiling rebar3_protobuf_plugin
<Plugin Output>
Basho encourages contributions to all of our open source software from the community. Here’s how to get started.