Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-07-01 14:57:48 +0300
committerBadlop <badlop@process-one.net>2021-07-06 14:37:14 +0300
commit08c2d0a83ec39f09c890e575c1494166d427deff (patch)
treeec11211dd7aeb8cfa39cc27dc9a464e8b8ef6665 /rebar.config
parentbb0c6e1e024a095a37db823372eb56bfd716a356 (diff)
Tell relx to include src, so that the tar will contain include/ (#3633)
That's the only way to ensure that tar.gz will contain include/ of ejabberd and its dependencies, which is required to compile ejabberd-contrib modules with "ejabberdctl module_install ..."
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config9
1 files changed, 6 insertions, 3 deletions
diff --git a/rebar.config b/rebar.config
index 9639372bb..a125557c6 100644
--- a/rebar.config
+++ b/rebar.config
@@ -189,13 +189,16 @@
{copy, "rel/files/install_upgrade.escript", "bin/install_upgrade.escript"}]}
]}.
-{profiles, [{prod, [{relx, [{mode, prod},
+{profiles, [{prod, [{relx, [{debug_info, strip},
+ {dev_mode, false},
+ {include_erts, true},
+ {include_src, true},
{overlay, [{copy, "sql/*", "lib/ejabberd-\{\{release_version\}\}/priv/sql/"},
{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg"},
{copy, "ejabberd.yml.example", "etc/ejabberd/ejabberd.yml"}]}]}]},
{dev, [{post_hooks, [{release, "rel/setup-dev.sh"}]},
- {relx, [{dev_mode, true},
- {debug_info, keep},
+ {relx, [{debug_info, keep},
+ {dev_mode, true},
{include_erts, true},
{include_src, false},
{overlay, [{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg.example"},