diff --git a/rebar.config b/rebar.config index a4828a4fa..def6f349c 100644 --- a/rebar.config +++ b/rebar.config @@ -109,6 +109,17 @@ %%% Compile %%% +{recursive_cmds, ['configure-deps']}. + +{post_hook_configure, [{"eimp", []}, + {if_var_true, pam, {"epam", []}}, + {if_var_true, sip, {"esip", []}}, + {if_var_true, zlib, {"ezlib", []}}, + {"fast_tls", []}, + {"fast_xml", [{if_var_true, full_xml, "--enable-full-xml"}]}, + {"fast_yaml", []}, + {"stringprep", []}]}. + {erl_first_files, ["src/ejabberd_sql_pt.erl", "src/ejabberd_config.erl", "src/gen_mod.erl", "src/mod_muc_room.erl", "src/mod_push.erl", "src/xmpp_socket.erl"]}. @@ -185,16 +196,6 @@ {cover_export_enabled, true}. {coveralls_coverdata, "_build/test/cover/ct.coverdata"}. {coveralls_service_name, "github"}. -{recursive_cmds, ['configure-deps']}. - -{post_hook_configure, [{"eimp", []}, - {if_var_true, pam, {"epam", []}}, - {if_var_true, sip, {"esip", []}}, - {if_var_true, zlib, {"ezlib", []}}, - {"fast_tls", []}, - {"fast_xml", [{if_var_true, full_xml, "--enable-full-xml"}]}, - {"fast_yaml", []}, - {"stringprep", []}]}. %%% %%% OTP Release