From 6e1000af13e8c559d090bab99fd58102d1e19b5c Mon Sep 17 00:00:00 2001 From: William Yang Date: Fri, 13 Sep 2024 13:16:51 +0200 Subject: [PATCH] fix(build): escript_incl_apps in rebar.config.script --- rebar.config | 1 - rebar.config.script | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rebar.config b/rebar.config index 69fd8be..e740950 100644 --- a/rebar.config +++ b/rebar.config @@ -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}]}]}. diff --git a/rebar.config.script b/rebar.config.script index e186a4a..de8b3b3 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -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)],