mix.exs: Explicitly list `goldrush` and `lager` as dependencies

They are not dependencies of the CLI, but dependencies of rabbit_common.
Unfortunately, mix(1) doesn't embed them in the final escripts. In fact,
it doesn't embed any dependencies of rabbit_common, but the CLI probably
doesn't call the code which would trigger a crash.
This commit is contained in:
Jean-Sébastien Pédron 2019-08-28 11:59:31 +02:00
parent 03caf7392f
commit 332c893dee
1 changed files with 12 additions and 0 deletions

View File

@ -136,6 +136,18 @@ defmodule RabbitMQCtl.MixfileBase do
compile: false,
override: true
},
{
:goldrush,
path: Path.join(deps_dir, "goldrush"),
compile: false,
override: true
},
{
:lager,
path: Path.join(deps_dir, "lager"),
compile: false,
override: true
},
{
:amqp_client,
path: Path.join(deps_dir, "amqp_client"),