Skip to content

Commit

Permalink
fix: fix env for dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
saveman71 committed Oct 17, 2024
1 parent 475f9e5 commit 7e98620
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ defmodule Hcaptcha.Mixfile do
]
end

def cli do
[
preferred_envs: [
dialyzer: :test
]
]
end

defp description do
"""
A simple hCaptcha package for Elixir applications, provides verification
Expand All @@ -50,7 +58,7 @@ defmodule Hcaptcha.Mixfile do
{:jason, "~> 1.4", optional: true},
{:credo, "~> 1.7.1", only: [:dev, :test], runtime: false},
{:ex_doc, "0.30.6", only: :dev},
{:dialyxir, "~> 1.4.1", only: [:dev]},
{:dialyxir, "~> 1.4.1", only: [:test]},
{:excoveralls, "~> 0.17.1", only: :test}
]
end
Expand Down

0 comments on commit 7e98620

Please sign in to comment.