Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benoitc/rebar3_protobuffs
rebar3 protobuffs provider using protobuffs from Basho
https://github.com/benoitc/rebar3_protobuffs
Last synced: 3 months ago
JSON representation
rebar3 protobuffs provider using protobuffs from Basho
- Host: GitHub
- URL: https://github.com/benoitc/rebar3_protobuffs
- Owner: benoitc
- License: other
- Created: 2015-12-05T21:28:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-29T04:29:32.000Z (over 8 years ago)
- Last Synced: 2024-10-05T03:49:58.392Z (3 months ago)
- Language: Erlang
- Homepage:
- Size: 5.86 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Erlang - rebar3 protobuffs provider using protobuffs from Basho. (Build Tools)
- fucking-awesome-elixir - rebar3_protobuffs - rebar3 protobuffs provider using protobuffs from Basho. (Build Tools)
- awesome-elixir - rebar3_protobuffs - rebar3 protobuffs provider using protobuffs from Basho. (Build Tools)
README
rebar3 protobuffs provider
==========================Provider to compile protobuffers files using
[protobuffers](https://github.com/basho/erlang_protobuffs).Place your `.proto` files in `src` directory and they will be automatically
build.Usage
-----Add the plugin to your rebar config:
```erlang
{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:```erlang
{provider_hooks, [
{pre, [{compile, {protobuffs, compile}}]}
]}.
```