basho-labs / rebar3_protobuf_plugin

Rebar 3 Plugin to compile protobuffs as part of a build process.
Apache License 2.0
2 stars 3 forks source link

Rebar 3 Protobuf Plugin

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.

Build

$ rebar3 compile

Use

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>

Contributing and Reporting Bugs

Basho encourages contributions to all of our open source software from the community. Here’s how to get started.