fix rebar.config
This commit is contained in:
parent
a8943c2940
commit
08b31c8279
@ -1,5 +1,6 @@
|
|||||||
{erl_opts, [
|
{erl_opts, [
|
||||||
debug_info
|
debug_info,
|
||||||
|
{i, "./_build/default/plugins/gpb/include"}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
{plugins, [
|
{plugins, [
|
||||||
@ -16,7 +17,7 @@
|
|||||||
{module_name_suffix, "_pb"}, % 生成模块后缀
|
{module_name_suffix, "_pb"}, % 生成模块后缀
|
||||||
{o_erl, "src"}, % .erl 输出目录
|
{o_erl, "src"}, % .erl 输出目录
|
||||||
{o_hrl, "include"}, % .hrl 输出目录
|
{o_hrl, "include"}, % .hrl 输出目录
|
||||||
{hrl_include_lib, "gpb/include/gpb.hrl"}, % ⚡ gpb 内部 record
|
include_as_lib, % gpb.hrl 通过 -include_lib("gpb/include/gpb.hrl")
|
||||||
{strings_as_binaries, true}, % proto string → Erlang binary
|
{strings_as_binaries, true}, % proto string → Erlang binary
|
||||||
type_specs, % 生成 type specs
|
type_specs, % 生成 type specs
|
||||||
report, % 编译报告
|
report, % 编译报告
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user