Skip to content

Naupio/pb_msgcodegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pb_msgcodegen

Just plugins of protobuf meesage id to erlang code generator.

A rebar3 plugin which fork on riak_pb_msgcodegen.

LICENSE

Build

$ rebar3 compile

Use

Add the plugin to your rebar config:

{plugins, [
    { pb_msgcodegen, {git, "git@github.com:Naupio/pb_msgcodegen.git", {branch, "master"}}}
]}.

Then just call your plugin directly in an existing application:

$ rebar3 pb_msgcodegen
===> Fetching pb_msgcodegen
===> Compiling pb_msgcodegen
<Plugin Output>

Use provider hooks before compile.
Add the provider_hooks to your rebar config:

{provider_hooks,
[{pre, [
    {compile, pb_msgcodegen}
    ]}
]}.

Then just compile your application by use rebar3 compile

About

Just plugins of protobuf meesage id to erlang code generator.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages