Create 3 mix projects: a, b, and test. test depends on a and b. b depends on a. Add a to the included_applications list in test. Build a release in test.
I'm expecting an error, but it would be really nice if it could point to the included_applications being the issue. For example, maybe something like "a is in the included_applications, but b which depends on a is not."
What version of Distillery?
2.0.10
What OS, Erlang/Elixir versions are you seeing this issue on?
Linux, Erlang 21.1, Elixir 1.7.3
If possible, also provide your rel/config.exs, as it is often
my first troubleshooting question, and you'll save us both time :)
See linked repository
Is there documentation that says one thing, but Distillery does
another? If so, please link the doc here so it can be updated if
it's a documentation issue, or so that the fix can be based around
what's documented.
If this is a runtime configuration issue, please also provide your config file
(with any sensitive information stripped of course). This is almost
always necessary to understand why some configuration may not be working.
If you do not provide the above information and I need it to help troubleshoot, it may delay things significantly,
as I will have to ask you for all of these things anyway. Help me help you!
Steps to reproduce
Create 3 mix projects:
a
,b
, andtest
.test
depends ona
andb
.b
depends ona
. Adda
to theincluded_applications
list intest
. Build a release intest
.For convenience, clone this repository: https://github.com/fhunleth/included_app_test
You should get an error:
Verbose Logs
Paste the output of the release command you ran with the
--verbose
flag below in the summary tags (this helps keep the issue easy to navigate):Description of issue
I'm expecting an error, but it would be really nice if it could point to the
included_applications
being the issue. For example, maybe something like "a
is in the included_applications, butb
which depends ona
is not."2.0.10
Linux, Erlang 21.1, Elixir 1.7.3
rel/config.exs
, as it is often my first troubleshooting question, and you'll save us both time :)See linked repository
If you do not provide the above information and I need it to help troubleshoot, it may delay things significantly, as I will have to ask you for all of these things anyway. Help me help you!