Skip to content

Add :tools to extra_applications in mix.exs #15

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

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

kipcole9
Copy link
Contributor

On Elixir 1.11, the compiler emits:

warning: :eprof.start_profiling/1 defined in application :tools is used by the current application but the current application does not directly depend on :tools. To fix this, you must do one of:

  1. If :tools is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :tools is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :tools, you may optionally skip this warning by adding [xref: [exclude: :eprof]] to your "def project" in mix.exs

  lib/exprof.ex:15: ExProf.start/1

This PR adds :tools to extra_applications in mix.exs to remove the warning.

@parroty parroty merged commit 3f90fe9 into parroty:master Dec 17, 2020
@parroty
Copy link
Owner

parroty commented Dec 17, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants