Skip to content
rebar3 protobuffs provider using protobuffs from Basho
Erlang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
rebar.config
rebar.lock

README.md

rebar3 protobuffs provider

Provider to compile protobuffers files using protobuffers.

Place your .proto files in src directory and they will be automatically build.

Usage

Add the plugin to your rebar config:

    {plugins, [rebar3_protobuffs]}.

The compile function is under the protobuffs namespace. To automatically compile .proto files before the Erlang compiler add the pre_hook to rebar.config:

{provider_hooks, [
                 {pre, [{compile, {protobuffs, compile}}]}
                 ]}.
You can’t perform that action at this time.