-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a dependency is not included in release #55
Comments
Distillery won't implicitly add dependencies to applications, because they represent two different things generally, for instance you may have compile-time dependencies which you don't want in the release, but which you need for building (such as distillery itself), and this is potentially a problem since dependencies can define The warning you see in the output is intended to let you know when one is missing. I went back and forth on this, but after a conversation with a number of people on IRC, I realized that there are a couple of situations where doing that is not desired, and having an opt-out mechanism is just as much pain as an opt-in mechanism, except we already have the opt-in mechanism, and one that many people are used to at this point. |
Ok clear, is there any plan to add more detail about included_applications in the documents? One more thing, I added the
to my Myapp.Mixfile module but still get the same warning. The code is available here https://github.com/slashmili/distillery-sample/tree/ecto-enum |
@slashmili def application do
[mod: {MyApp, []},
applications: [...],
included_applications: [:ecto_enum]]
end But you should only use |
@bitwalker I'm running into this with Poison. It's not an app that needs to be started. Is the best way to get this packaged to used |
@stevennunez use |
Steps to reproduce
Check out this code https://github.com/slashmili/distillery-sample/tree/ecto-enum
Verbose Logs
Description of issue
Since
ecto_enum
is in my deps list I'm expecting that distillery includesecto_enum
in the OTP releaseElixir 1.3.2
,Erlang/OTP 19
,Mac 10.12
andUbuntu 16.04
rel/config.exs
, as it is oftenmy first troubleshooting question, and you'll save us both time :)
Refer to the repo
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.
There is no documents about
included_applications
like the way that is inexrm
Dependency issues so I'm not sure if
distillery
is supposed to detect the dependency or I should explicitly mention itThe text was updated successfully, but these errors were encountered: