Skip to content

Commit

Permalink
build: move deps to emqtt_bench app.src
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Sep 19, 2024
1 parent a41a6a9 commit fb45cab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
9 changes: 3 additions & 6 deletions rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,9 @@ ExtraDeps = fun(C) ->
lists:keystore(deps, 1, C, {deps, Deps})
end,

NewConfig = [ {escript_incl_apps,
[emqtt_bench,
prometheus,
quantile_estimator,
cowboy
| [ quicer || IsQuicSupp ]
NewConfig = [ {escript_incl_apps,
[emqtt_bench |
[ quicer || IsQuicSupp ]
]}
, Profiles
| ExtraDeps(CONFIG)],
Expand Down
12 changes: 11 additions & 1 deletion src/emqtt_bench.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@
{description, "Erlang MQTT v5.0 Benchmark Tool"},
{vsn, git},
{registered, []},
{applications, [kernel, stdlib, emqtt, getopt, gun, cowlib, jsx]},
{applications, [kernel,
stdlib,
emqtt,
getopt,
gun,
cowlib,
jsx,
prometheus,
quantile_estimator,
cowboy
]},
{included_applications, [cowboy, prometheus]},
{env, []},
{maintainers,["Feng Lee <[email protected]>"]},
Expand Down

0 comments on commit fb45cab

Please sign in to comment.