diff options
author | Tomas Abrahamsson <tomas.abrahamsson@gmail.com> | 2014-12-31 03:51:58 +0100 |
---|---|---|
committer | Tomas Abrahamsson <tomas.abrahamsson@gmail.com> | 2015-01-24 22:11:04 +0100 |
commit | 1ce7059adb5db994c2a1a0c30ea9a34ff8aefc5e (patch) | |
tree | e99f3d431b85b3b09cd1c8a9a8ce394d3d42deb8 /rebar.config | |
parent | 2e9706fd6156a358b7a6ed3c599a9d303212cc14 (diff) | |
download | rebar-1ce7059adb5db994c2a1a0c30ea9a34ff8aefc5e.tar.gz |
Recompile .proto files with gpb also with prefix/suffix
For protocol buffer files, when there were gpb options to alter the
module name with prefix or suffix, recompilation was not properly
detected. This is now fixed. (Issue #384).
Use the rebar_base_compiler's ability to specify both source and
target file names, to be able to also support prefixes.
This also introduces a call to gpb_compile:format_error, so the xref
recipe needs to be updated to ignore it, to avoid false errors.
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config index d90e1f1..33d2aea 100644 --- a/rebar.config +++ b/rebar.config @@ -26,6 +26,7 @@ - (\"neotoma\":\"file\"/\"2\") - (\"protobuffs_compile\":\"scan_file\"/\"2\") - (\"gpb_compile\":\"file\"/\"2\") + - (\"gpb_compile\":\"format_error\"/\"1\") - (\"diameter_codegen\":\"from_dict\"/\"4\") - (\"diameter_dict_util\":\"format_error\"/\"1\") - (\"diameter_dict_util\":\"parse\"/\"2\"))", |