Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, `emqx_release.erl` depends on the `erl_opts` option `compile_info` being set by Rebar3 to include `{emqx_vsn, $PKG_VSN}` to report the version, for instance, in `emqx ctl status`. Since Mix does not provide a simple way to pass `erl_opts` to Rebar3 dependencies without creating a `mix.exs` file, the workaround is to set the environment variable `ERL_COMPILER_OPTIONS` to include that value before invoking the Erlang compiler on the Rebar3 dependencies.
- Loading branch information