Jelajahi Sumber

chore(rebar): Delete profiles from apps' rebar.config

otherwise rebar3 crashes
Zaiming Shi 5 tahun lalu
induk
melakukan
036eda27f6

+ 0 - 6
apps/emqx_auth_ldap/rebar.config

@@ -2,12 +2,6 @@
  [{eldap2, {git, "https://github.com/emqx/eldap2", {tag, "v0.2.2"}}}
  ]}.
 
-{profiles,
- [{test,
-   [{deps, [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}}]}
-   ]}
- ]}.
-
 {edoc_opts, [{preprocess, true}]}.
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 1 - 10
apps/emqx_auth_mnesia/rebar.config

@@ -1,14 +1,5 @@
 {deps,
- [
- ]}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "v1.2.2"}}}
-     ]}
-   ]}
- ]}.
+ [ ]}.
 
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 0 - 10
apps/emqx_auth_mongo/rebar.config

@@ -21,13 +21,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helper, {git, "https://github.com/emqx/emqx-ct-helper", {tag, "1.2.2"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.2.0"}}}
-     ]},
-    {erl_opts, [debug_info]}
-   ]}
- ]}.

+ 0 - 10
apps/emqx_auth_mysql/rebar.config

@@ -22,13 +22,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.2.0"}}}
-     ]},
-    {erl_opts, [debug_info]}
-   ]}
- ]}.

+ 0 - 10
apps/emqx_auth_pgsql/rebar.config

@@ -19,13 +19,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helper, {git, "https://github.com/emqx/emqx-ct-helper", {branch, "1.2.2"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.2.0"}}}
-     ]},
-    {erl_opts, [debug_info]}
-   ]}
- ]}.

+ 0 - 10
apps/emqx_auth_redis/rebar.config

@@ -19,13 +19,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helper, {git, "https://github.com/emqx/emqx-ct-helper", {tag, "1.2.2"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.2.0"}}}
-     ]},
-    {erl_opts, [debug_info]}
-   ]}
- ]}.

+ 0 - 7
apps/emqx_bridge_mqtt/rebar.config

@@ -18,10 +18,3 @@
   % {config, "config/sys.config"},
     {apps, [emqx, emqx_bridge_mqtt]}
 ]}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}}]}
-   ]}
-]}.

+ 0 - 8
apps/emqx_dashboard/rebar.config

@@ -1,13 +1,5 @@
 {deps, []}.
 
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helper, {git, "https://github.com/emqx/emqx-ct-helper", {branch, "1.2.2"}}}
-     ]}
-   ]}
- ]}.
-
 {edoc_opts, [{preprocess, true}]}.
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 0 - 8
apps/emqx_exhook/rebar.config

@@ -16,11 +16,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
-    [{test, [
-        {deps, [ {emqx_ct_helper, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "v1.2.2"}}}
-               , {cuttlefish, {git, "https://github.com/emqx/cuttlefish", {tag, "v3.0.0"}}}
-               ]}
-    ]}
-]}.

+ 0 - 7
apps/emqx_lua_hook/rebar.config

@@ -19,10 +19,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps, [{emqx_ct_helpers, {git, "http://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}}]}
-   ]},
-  {erl_opts, [debug_info]}
- ]}.

+ 0 - 10
apps/emqx_management/rebar.config

@@ -1,15 +1,5 @@
 {deps, []}.
 
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {branch, "develop"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.1.1"}}},
-      meck
-     ]}
-   ]}
- ]}.
-
 {edoc_opts, [{preprocess, true}]}.
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 0 - 8
apps/emqx_prometheus/rebar.config

@@ -16,11 +16,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helper, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}}
-     ]}
-   ]}
- ]}.

+ 0 - 8
apps/emqx_recon/rebar.config

@@ -10,14 +10,6 @@
             debug_info
             ]}.
 
-{profiles, [
-  {test, [
-    {deps, [
-      meck
-    ]}
-  ]}
-]}.
-
 {xref_checks, [undefined_function_calls, undefined_functions,
                locals_not_used, deprecated_function_calls,
                warnings_as_errors, deprecated_functions]}.

+ 0 - 10
apps/emqx_rule_engine/rebar.config

@@ -23,13 +23,3 @@
 {cover_export_enabled, true}.
 
 {plugins, [rebar3_proper]}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.1"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.1.1"}}}
-     ]},
-    {erl_opts, [debug_info]}
-   ]}
- ]}.

+ 0 - 9
apps/emqx_sasl/rebar.config

@@ -2,15 +2,6 @@
  [{pbkdf2, {git, "https://github.com/emqx/erlang-pbkdf2.git", {branch, "2.0.3"}}}
  ]}.
 
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "v1.2.2"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {branch, "develop"}}}
-     ]}
-   ]}
- ]}.
-
 {edoc_opts, [{preprocess, true}]}.
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 0 - 9
apps/emqx_sn/rebar.config

@@ -6,15 +6,6 @@
   {cuttlefish, {git, "https://github.com/emqx/cuttlefish", {tag, "v3.0.0"}}}
  ]}.
 
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.3.0"}}},
-      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.2.0"}}}
-     ]}
-   ]}
- ]}.
-
 {edoc_opts, [{preprocess, true}]}.
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 0 - 6
apps/emqx_stomp/rebar.config

@@ -1,11 +1,5 @@
 {deps, []}.
 
-{profiles,
- [{test,
-   [{deps, [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}}]}
-   ]}
- ]}.
-
 {edoc_opts, [{preprocess, true}]}.
 {erl_opts, [warn_unused_vars,
             warn_shadow_vars,

+ 0 - 8
apps/emqx_telemetry/rebar.config

@@ -12,11 +12,3 @@
 {cover_enabled, true}.
 {cover_opts, [verbose]}.
 {cover_export_enabled, true}.
-
-{profiles,
- [{test,
-   [{deps,
-     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "v1.2.2"}}}
-     ]}
-   ]}
- ]}.

+ 1 - 1
rebar.config

@@ -20,7 +20,7 @@
                  {post,[{release,{relup_helper,otp_vsn}},
                         {release,{relup_helper,untar}}]}]}.
 {post_hooks,[]}.
-{erl_first_files, ["emqx_logger.erl"]}.
+{erl_first_files, ["src/emqx_logger.erl"]}.
 
 "${COVERALL_CONFIGS}".