https://github.com/naupio/pb_msgcodegen
Just plugins of protobuf meesage id to erlang code generator.
https://github.com/naupio/pb_msgcodegen
erlang message-id protobuf
Last synced: 11 months ago
JSON representation
Just plugins of protobuf meesage id to erlang code generator.
- Host: GitHub
- URL: https://github.com/naupio/pb_msgcodegen
- Owner: Naupio
- License: mit
- Created: 2018-05-14T01:56:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-22T07:15:47.000Z (over 4 years ago)
- Last Synced: 2025-03-01T18:14:11.712Z (over 1 year ago)
- Topics: erlang, message-id, protobuf
- Language: Erlang
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pb_msgcodegen
-----
Just plugins of protobuf meesage id to erlang code generator.
A rebar3 plugin which fork on [riak_pb_msgcodegen](https://github.com/tsloughter/riak_pb_msgcodegen).
LICENSE
-----
- The [MIT License](./LICENSE)
- Copyright (c) 2018 [Naupio Z.Y Huang](https://github.com/Naupio)
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
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`