We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d658bce commit f09248dCopy full SHA for f09248d
mix.exs
@@ -27,12 +27,9 @@ defmodule Tesla.Mixfile do
27
#
28
# Type `mix help compile.app` for more information
29
def application do
30
- [applications: apps(Mix.env())]
+ [extra_applications: [:logger, :ssl, :inets]]
31
end
32
33
- def apps(:test), do: apps(:dev) ++ [:httparrot, :hackney, :ibrowse, :gun, :finch]
34
- def apps(_), do: [:logger, :ssl, :inets]
35
-
36
defp description do
37
"HTTP client library, with support for middleware and multiple adapters."
38
@@ -78,7 +75,7 @@ defmodule Tesla.Mixfile do
78
75
{:httparrot, "~> 1.2", only: :test},
79
76
{:ex_doc, "~> 0.21", only: :dev},
80
77
{:mix_test_watch, "~> 1.0", only: :dev},
81
- {:dialyxir, "~> 1.0", only: [:dev, :test]},
+ {:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
82
{:inch_ex, "~> 2.0", only: :docs}
83
]
84
test/test_helper.exs
@@ -1,2 +1,5 @@
1
+clients = [:ibrowse, :hackney, :gun, :finch, :castore, :mint]
2
+Enum.map(clients, &Application.ensure_all_started/1)
3
+
4
ExUnit.configure(trace: false)
5
ExUnit.start()
0 commit comments