pragdave / earmark

Markdown parser for Elixir
Other
860 stars 135 forks source link

Compiler warning: :eex dependency is not declared #424

Closed deepankar-j closed 2 years ago

deepankar-j commented 2 years ago

Using earmark v1.4.16, I get the following warning during compilation. It appears that :eex might be missing from mix.exs.

#35 314.1 ==> earmark
#35 314.1 Compiling 13 files (.ex)
#35 315.4 warning: EEx.eval_file/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:
#35 315.4 
#35 315.4   1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs
#35 315.4 
#35 315.4   2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs
#35 315.4 
#35 315.4   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
#35 315.4 
#35 315.4   lib/earmark/cli/implementation.ex:137: Earmark.Cli.Implementation._get_content/2
#35 315.4 
#35 315.4 warning: EEx.eval_string/1 defined in application :eex is used by the current application but the current application does not depend on :eex. To fix this, you must do one of:
#35 315.4 
#35 315.4   1. If :eex is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs
#35 315.4 
#35 315.4   2. If :eex is a dependency, make sure it is listed under "def deps" in your mix.exs
#35 315.4 
#35 315.4   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
#35 315.4 
#35 315.4 Found at 2 locations:
#35 315.4   lib/earmark/cli/implementation.ex:127: Earmark.Cli.Implementation._process_input/2
#35 315.4   lib/earmark/cli/implementation.ex:136: Earmark.Cli.Implementation._get_content/2
#35 315.4 
#35 315.6 Generated earmark app
deepankar-j commented 2 years ago

Btw, I'm using Elixir 1.12.2 and Erlang 24.0.5.

RobertDober commented 2 years ago

thank you for reporting this