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:
Thales Macedo Garitezi 2022-09-27 10:40:20 -03:00 committed by GitHub
commit 8d1b58b821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

1
build
View File

@ -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