--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/99c7767e-0b7c-4dfc-b643-db5d9c19d371%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 11 Feb 2017, at 20:09, José Valim <jose....@plataformatec.com.br> wrote:I believe we can warn if a dependency is not listed in the applications list or explicitly marked with runtime: false. We already know how to compute this information so it is a matter of guaranteeing everything is sync. Please open up an issue or send a PR. If the code is straight-forward, then I see no reason for not doing this.
Unfortunately we cannot deprecate :applications because fixing the warning implies your package will only run on Elixir v1.4+. Maybe we can do it in the future, for v1.7 or v1.8, but now it is definitely too early.
> Perhaps we could soft-deprecate it in 1.5, i.e. remove the description from docs (e.g. https://hexdocs.pm/mix/Mix.Tasks.Compile.App.html)?Let's go with baby steps. If the warning is not good enough or insufficient then we can consider deprecating it.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BjukLjkhdBSaT9nioL3NeNH_nDMQ-D8n0xP8EG--6XZA%40mail.gmail.com.
Distillery does this currently, so the code could likely be reused with some tweaking, I'll look into opening a PR for it.Paul
On Sat, Feb 11, 2017 at 1:57 PM José Valim <jose....@plataformatec.com.br> wrote:
> Perhaps we could soft-deprecate it in 1.5, i.e. remove the description from docs (e.g. https://hexdocs.pm/mix/Mix.Tasks.Compile.App.html)?Let's go with baby steps. If the warning is not good enough or insufficient then we can consider deprecating it.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BjukLjkhdBSaT9nioL3NeNH_nDMQ-D8n0xP8EG--6XZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAK%3D%2B-TtV%3DQQB%2Bx_4r42-1cKOatFyee2YM4ZFvZwESNwCjbGj1g%40mail.gmail.com.