Created
November 5, 2016 14:06
-
-
Save lrascao/7f082d21e4a06a81e92ac3dfb788f1da to your computer and use it in GitHub Desktop.
Patch to ddb_proxy grrr branch, fixes gpb build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b863e924eb6a7c18c1bf026808d7d733d826c83d Mon Sep 17 00:00:00 2001 | |
From: Luis Rascao <[email protected]> | |
Date: Sat, 5 Nov 2016 14:02:39 +0000 | |
Subject: [PATCH] Move gpb options to ddb_proxy app rebar.config | |
A ddb_proxy specific rebar.config defines the | |
gpb configuration to be applied. | |
--- | |
apps/ddb_proxy/rebar.config | 16 ++++++++++++++++ | |
rebar.config | 15 --------------- | |
2 files changed, 16 insertions(+), 15 deletions(-) | |
create mode 100644 apps/ddb_proxy/rebar.config | |
diff --git a/apps/ddb_proxy/rebar.config b/apps/ddb_proxy/rebar.config | |
new file mode 100644 | |
index 00000000..85df7da1 | |
--- /dev/null | |
+++ b/apps/ddb_proxy/rebar.config | |
@@ -0,0 +1,16 @@ | |
+%% -*- erlang -*- | |
+ | |
+{gpb_opts, [ | |
+ {i, "proto"}, | |
+ {module_name_suffix, "_pb"}, | |
+ {o_erl, "src"}, | |
+ {o_hrl, "include"}, | |
+ {strings_as_binaries, true}, | |
+ type_specs]}. | |
+ | |
+{provider_hooks, | |
+ [{pre, [ | |
+ {compile, {protobuf, compile}}, | |
+ {clean, {protobuf, clean}} | |
+ ]} | |
+ ]}. | |
diff --git a/rebar.config b/rebar.config | |
index 039ed977..c36e3b73 100644 | |
--- a/rebar.config | |
+++ b/rebar.config | |
@@ -32,21 +32,6 @@ | |
{project_plugins, [{rebar3_cuttlefish, "0.10.0"}]}. | |
{plugins, [rebar3_gpb_plugin]}. | |
- | |
-{gpb_opts, [ | |
- {i, "proto"}, | |
- {module_name_suffix, "_pb"}, | |
- {o_erl, "src"}, | |
- {o_hrl, "include"}, | |
- {strings_as_binaries, true}, | |
- type_specs]}. | |
-{provider_hooks, | |
- [{pre, [ | |
- {compile, {protobuf, compile}}, | |
- {clean, {protobuf, clean}} | |
- ]} | |
- ]}. | |
- | |
%%------------------------------------------------------------------- | |
%% Cuttlefish | |
%%------------------------------------------------------------------- | |
-- | |
2.10.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment