mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
New "make dev" and "./ejabberdctl" (requires using rebar3)
This commit is contained in:
parent
21b021d912
commit
0fe2aea709
5 changed files with 52 additions and 1 deletions
|
@ -341,10 +341,14 @@ end,
|
|||
|
||||
ProcessRelx = fun(Relx, Deps) ->
|
||||
{value, {release, NameVersion, DefaultApps}, RelxTail} = lists:keytake(release, 1, Relx),
|
||||
ProfileApps = case os:getenv("REBAR_PROFILE") of
|
||||
"dev" -> [observer, runtime_tools, wx, debugger];
|
||||
_ -> []
|
||||
end,
|
||||
DepApps = lists:map(fun({DepName, _, _}) -> DepName;
|
||||
({DepName, _}) -> DepName
|
||||
end, Deps),
|
||||
[{release, NameVersion, DefaultApps ++ DepApps} | RelxTail]
|
||||
[{release, NameVersion, DefaultApps ++ ProfileApps ++ DepApps} | RelxTail]
|
||||
end,
|
||||
|
||||
GithubConfig = case {os:getenv("GITHUB_ACTIONS"), os:getenv("GITHUB_TOKEN")} of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue