fix rebar.config

This commit is contained in:
anlicheng 2026-04-16 14:25:03 +08:00
parent a8943c2940
commit 08b31c8279

View File

@ -1,5 +1,6 @@
{erl_opts, [
debug_info
debug_info,
{i, "./_build/default/plugins/gpb/include"}
]}.
{plugins, [
@ -16,7 +17,7 @@
{module_name_suffix, "_pb"}, % 生成模块后缀
{o_erl, "src"}, % .erl 输出目录
{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
type_specs, % 生成 type specs
report, % 编译报告