Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
rebar.config 5.45 KB
Copy Edit Raw Blame History
%% NOTE: Order of the deps matters!
{elixir_deps, []}.
{deps,
[emqx,
emqx_retainer,
emqx_management,
emqx_dashboard,
emqx_bridge_mqtt,
emqx_sn,
emqx_coap,
emqx_stomp,
emqx_auth_clientid,
emqx_auth_username,
emqx_auth_http,
emqx_auth_jwt,
emqx_auth_mysql,
emqx_auth_mnesia,
emqx_web_hook,
emqx_recon,
emqx_rule_engine,
emqx_sasl,
emqx_telemetry
]}.
%% Added to deps list for 'cloud' profile
{cloud_deps,
[emqx_lwm2m,
emqx_auth_ldap,
emqx_auth_pgsql,
emqx_auth_redis,
emqx_auth_mongo,
emqx_lua_hook,
emqx_prometheus,
emqx_reloader,
emqx_psk_file,
emqx_extension_hook,
emqx_exproto,
emqx_plugin_template
]}.
{edge_deps, []}.
{relx,
[{include_src, false},
{extended_start_script, false},
{generate_start_script, false},
{sys_config, false},
{vm_args, false},
{release, {emqx, git_describe},
[kernel,
sasl,
crypto,
public_key,
asn1,
syntax_tools,
ssl,
os_mon,
inets,
compiler,
runtime_tools,
cuttlefish,
emqx,
{mnesia, load},
{ekka, load},
{emqx_retainer, load},
{emqx_management, load},
{emqx_dashboard, load},
{emqx_bridge_mqtt, load},
{emqx_sn, load},
{emqx_coap, load},
{emqx_stomp, load},
{emqx_auth_clientid, load},
{emqx_auth_username, load},
{emqx_auth_http, load},
{emqx_auth_mysql, load},
{emqx_auth_jwt, load},
{emqx_auth_mnesia, load},
{emqx_web_hook, load},
{emqx_recon, load},
{emqx_rule_engine, load},
{emqx_sasl, load},
{emqx_telemetry, load}
]},
{overlay,
[{mkdir,"etc/"},
{mkdir,"log/"},
{mkdir,"data/"},
{mkdir,"data/mnesia"},
{mkdir,"data/configs"},
{mkdir,"data/scripts"},
{template,"data/emqx_vars","releases/emqx_vars"},
{template,"bin/emqx_env","bin/emqx_env"},
{copy,"bin/emqx","bin/emqx"},
{copy,"bin/emqx_ctl","bin/emqx_ctl"},
{copy,"bin/install_upgrade.escript", "bin/install_upgrade.escript"},
{copy,"bin/emqx","bin/emqx-{{rel_vsn}}"}, %% for relup
{copy,"bin/emqx_ctl","bin/emqx_ctl-{{rel_vsn}}"}, %% for relup
{copy,"bin/install_upgrade.escript", "bin/install_upgrade.escript-{{rel_vsn}}"}, %% for relup
{template,"bin/emqx.cmd","bin/emqx.cmd"},
{template,"bin/emqx_ctl.cmd","bin/emqx_ctl.cmd"},
{copy,"{{output_dir}}/../../conf/plugins","etc/"},
{template,"{{output_dir}}/../../conf/emqx.conf","etc/emqx.conf"},
{template,"{{output_dir}}/../../conf/ssl_dist.conf","etc/ssl_dist.conf"},
{template,"{{output_dir}}/../../conf/plugins/emqx_bridge_mqtt.conf", "etc/plugins/emqx_bridge_mqtt.conf"},
{template,"{{output_dir}}/../../conf/plugins/emqx_coap.conf", "etc/plugins/emqx_coap.conf"},
{template,"{{output_dir}}/../../conf/plugins/emqx_auth_http.conf", "etc/plugins/emqx_auth_http.conf"},
{template, "data/loaded_plugins.tmpl", "data/loaded_plugins"},
{template, "data/loaded_modules.tmpl", "data/loaded_modules"},
{copy,"{{output_dir}}/../../conf/acl.conf","etc/acl.conf"},
{copy,"bin/nodetool","bin/nodetool"},
{copy,"bin/nodetool","bin/nodetool-{{rel_vsn}}"},
{copy,"{{output_dir}}/../../conf/schema/emqx.schema","releases/{{rel_vsn}}/"},
{template,"{{output_dir}}/../../lib/emqx/etc/{{vm_args_file}}","etc/vm.args"},
{copy, "{{output_dir}}/../../lib/emqx/etc/certs","etc/"},
{copy, "{{output_dir}}/../../lib/cuttlefish/cuttlefish","bin/"},
{copy, "{{output_dir}}/../../lib/cuttlefish/cuttlefish","bin/cuttlefish-{{rel_vsn}}"}
]}
]}.
{elixir_relx_apps, []}.
{edge_relx_apps, []}.
{cloud_relx_apps,
[{emqx_lwm2m, load},
{emqx_auth_ldap, load},
{emqx_auth_pgsql, load},
{emqx_auth_redis, load},
{emqx_auth_mongo, load},
{emqx_lua_hook, load},
{emqx_extension_hook, load},
{emqx_exproto, load},
{emqx_prometheus, load},
{emqx_reloader, load},
{emqx_psk_file, load},
{emqx_plugin_template, load},
{observer, load},
luerl,
xmerl
]}.
{cloud_relx_overlay,
[{template,"{{output_dir}}/../../conf/plugins/emqx_lwm2m.conf", "etc/plugins/emqx_lwm2m.conf"},
{template,"{{output_dir}}/../../conf/plugins/emqx_psk_file.conf", "etc/plugins/emqx_psk_file.conf"},
{template,"{{output_dir}}/../../conf/plugins/emqx_extension_hook.conf", "etc/plugins/emqx_extension_hook.conf"},
{template,"{{output_dir}}/../../conf/plugins/emqx_exproto.conf", "etc/plugins/emqx_exproto.conf"},
{copy,"{{output_dir}}/../../lib/emqx_lwm2m/lwm2m_xml","etc/"},
{copy, "{{output_dir}}/../../lib/emqx_psk_file/etc/psk.txt", "etc/psk.txt"}
]}.
{edge_relx_overlay, []}.
{edoc_opts, [{preprocess,true}]}.
{erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,
warn_obsolete_guard,no_debug_info,compressed,deterministic]}.
{overrides, [
{add, [{erl_opts, [no_debug_info, compressed, {parse_transform, mod_vsn}, deterministic]}]}
]}.
{xref_checks, [undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,warnings_as_errors,
deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{plugins, [
{relup_helper, {git, "https://github.com/emqx/relup_helper", {branch, "master"}}},
{rebar3_run, {git, "https://github.com/emqx/rebar3_run", {tag, "0.2.3"}}}
]}.
{provider_hooks, [
{pre, [{release, {relup_helper, gen_appups}}]},
{post, [{release, {relup_helper, otp_vsn}},
{release, {relup_helper, untar}}]}
]}.
{post_hooks,
[{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", compile, "./post-compile.sh"},
{"win32", compile, "post-compile.cmd"}
]}.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化