Merge pull request #9058 from thalesmg/mix-snk-kind
feat(mix): set `snk_kind` from `$kind` to `msg` in Mix build
This commit is contained in:
commit
8d1b58b821
1
build
1
build
|
@ -364,6 +364,7 @@ export_release_vars() {
|
|||
# compiling the project, so that `emqx_release.erl' picks up
|
||||
# `emqx_vsn' as if it was compiled by rebar3.
|
||||
erl_opts+=( "{compile_info,[{emqx_vsn,\"${PKG_VSN}\"}]}" )
|
||||
erl_opts+=( "{d,snk_kind,msg}" )
|
||||
|
||||
ERL_COMPILER_OPTIONS="[$(join , "${erl_opts[@]}")]"
|
||||
export ERL_COMPILER_OPTIONS
|
||||
|
|
Loading…
Reference in New Issue