Просмотр исходного кода

Merge pull request #9058 from thalesmg/mix-snk-kind

feat(mix): set `snk_kind` from `$kind` to `msg` in Mix build
Thales Macedo Garitezi 3 лет назад
Родитель
Сommit
8d1b58b821
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      build

+ 1 - 0
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