From 758e2adefc885403ed5759eb21951e2cf4dfad3c Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Sun, 25 Jul 2021 17:42:49 +0200 Subject: [PATCH] chore: add comments to rebar.config.erl for future ref --- rebar.config.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rebar.config.erl b/rebar.config.erl index 8c5ff1019..49679d783 100644 --- a/rebar.config.erl +++ b/rebar.config.erl @@ -276,6 +276,9 @@ relx_apps(ReleaseType) -> ++ [emqx_license || is_enterprise()] ++ [bcrypt || provide_bcrypt_release(ReleaseType)] ++ relx_apps_per_rel(ReleaseType) + %% NOTE: applications below are only loaded after node start/restart + %% TODO: Add loaded/unloaded state to plugin apps + %% then we can always start plugin apps ++ [{N, load} || N <- relx_plugin_apps(ReleaseType)]. relx_apps_per_rel(cloud) -> @@ -293,8 +296,7 @@ is_app(Name) -> end. relx_plugin_apps(ReleaseType) -> - [] - ++ relx_plugin_apps_per_rel(ReleaseType) + relx_plugin_apps_per_rel(ReleaseType) ++ relx_plugin_apps_enterprise(is_enterprise()) ++ relx_plugin_apps_extra().