Skip to content

Commit

Permalink
fix(build): escript_incl_apps in rebar.config.script
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Sep 13, 2024
1 parent d167708 commit 6e1000a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

{escript_name, emqtt_bench}.
{escript_main_app, emqtt_bench}.
{escript_incl_apps, [prometheus, quantile_estimator, cowboy]}.
{escript_emu_args, "%%! -smp true +K true +A 16 +P 16000000 +Muacnl 0 +hms 64 -env ERL_MAX_PORTS 16000000 -env ERTS_MAX_PORTS 16000000\n"}.
{escript_shebang, "#!/usr/bin/env escript\n"}.
{provider_hooks, [{post, [{compile, escriptize}]}]}.
Expand Down
7 changes: 5 additions & 2 deletions rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ ExtraDeps = fun(C) ->
end,

NewConfig = [ {escript_incl_apps,
[emqtt_bench |
[ quicer || IsQuicSupp ]
[emqtt_bench,
prometheus,
quantile_estimator,
cowboy
| [ quicer || IsQuicSupp ]
]}
, Profiles
| ExtraDeps(CONFIG)],
Expand Down

0 comments on commit 6e1000a

Please sign in to comment.