Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Get rid of ExCoveralls warnings #10

Open
ryanwinchester opened this issue Oct 15, 2020 · 0 comments
Open

Get rid of ExCoveralls warnings #10

ryanwinchester opened this issue Oct 15, 2020 · 0 comments

Comments

@ryanwinchester
Copy link
Member

Warnings from ExCoveralls:

warning: :cover.start/0 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: :cover] to your "def project" in mix.exs

  lib/excoveralls/cover.ex:11: ExCoveralls.Cover.compile/1

and

warning: EEx.eval_file/2 defined in application :eex is used by the current application but the current application does not directly depend on :eex. To fix this, you must do one of:

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

  2. If :eex 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 :eex, you may optionally skip this warning by adding [xref: [exclude: EEx] to your "def project" in mix.exs

Found at 2 locations:
  lib/excoveralls/html/view.ex:27: ExCoveralls.Html.View.render/1
  lib/excoveralls/html/view.ex:31: ExCoveralls.Html.View.partial/2

I've tried adding the options [xref: [exclude: [:cover, EEx]] to mix project as suggested in the warning above but it does not stop the warning from happening.

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

No branches or pull requests

1 participant