| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- %% This config file is the very basic config to compile emqx
- %% This allows emqx to be used as a dependency for other applications
- %% such as emqx module/plugin develpments and tests.
- %% With the help of EMQ's rebar3 fork, the config is extended
- %% with rebar.config.erl module. Final result is written to
- %% rebar.config.rendered if environment DEBUG is set.
- {edoc_opts, [{preprocess,true}]}.
- {erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,
- warn_obsolete_guard,compressed,
- {d, snk_kind, msg}]}.
- {extra_src_dirs, [{"etc", [{recursive,true}]}]}.
- {xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
- deprecated_function_calls,warnings_as_errors,deprecated_functions]}.
- {dialyzer, [
- {warnings, [unmatched_returns, error_handling]},
- {plt_location, "."},
- {plt_prefix, "emqx_dialyzer"},
- {plt_apps, all_apps},
- {statistics, true}
- ]
- }.
- {cover_opts, [verbose]}.
- {cover_export_enabled, true}.
- {cover_excl_mods, [emqx_exproto_pb, emqx_exhook_pb]}.
- {provider_hooks, [{pre, [{release, {relup_helper, gen_appups}}]}]}.
- {post_hooks,[]}.
- {erl_first_files, ["src/emqx_logger.erl", "src/emqx_rule_actions_trans.erl"]}.
- {deps,
- [ {gpb, "4.11.2"} %% gpb only used to build, but not for release, pin it here to avoid fetching a wrong version due to rebar plugins scattered in all the deps
- , {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.1.14"}}}
- , {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.6.5"}}}
- , {gproc, {git, "https://github.com/uwiger/gproc", {tag, "0.8.0"}}}
- , {jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}}
- , {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.8.2"}}}
- , {esockd, {git, "https://github.com/emqx/esockd", {tag, "5.8.4"}}}
- , {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.8.1.8"}}}
- , {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "2.5.1"}}}
- , {cuttlefish, {git, "https://github.com/emqx/cuttlefish", {tag, "v3.3.6"}}}
- , {minirest, {git, "https://github.com/emqx/minirest", {tag, "0.3.7"}}}
- , {ecpool, {git, "https://github.com/emqx/ecpool", {tag, "0.5.2"}}}
- , {replayq, {git, "https://github.com/emqx/replayq", {tag, "0.3.2"}}}
- , {pbkdf2, {git, "https://github.com/emqx/erlang-pbkdf2.git", {branch, "2.0.4"}}}
- , {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.2.3.1"}}}
- , {rulesql, {git, "https://github.com/emqx/rulesql", {tag, "0.1.2"}}}
- , {recon, {git, "https://github.com/ferd/recon", {tag, "2.5.1"}}}
- , {observer_cli, "1.6.1"} % NOTE: depends on recon 2.5.1
- , {getopt, "1.0.1"}
- , {snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {tag, "0.15.0"}}}
- ]}.
- {xref_ignores,
- [ %% schema registry is for enterprise
- {emqx_schema_registry,get_all_schemas,0},
- {emqx_schema_api,format_schema,1},
- {emqx_schema_api,make_schema_params,1},
- {emqx_schema_parser,decode,3},
- {emqx_schema_parser,encode,3},
- {emqx_schema_registry,add_schema,1},
- emqx_exhook_pb, % generated code for protobuf
- emqx_exproto_pb % generated code for protobuf
- ]}.
|