-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
57 lines (52 loc) · 1.61 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
defmodule HttpClient.MixProject do
use Mix.Project
def project do
[
app: :http_client,
version: "0.2.5",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
deps: deps(),
package: package(),
description: description(),
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
plt_core_path: "priv/plts/",
plt_add_apps: [:mix]
]
]
end
def application do
[extra_applications: [:logger], mod: {HttpClient.Application, []}]
end
defp deps do
[
{:httpoison, "~> 1.5"},
{:telemetry, "~> 0.4.0 or ~> 1.0"},
{:ex2ms, "~> 1.6.1"},
{:mox, "~> 0.5", only: :test},
{:excoveralls, "~> 0.12", only: [:test]},
{:ex_unit_sonarqube, "~> 0.1.2", only: [:dev, :test]},
{:credo, "~> 1.0", runtime: false, only: [:dev]},
{:git_hooks, "~> 0.3", runtime: false, only: [:dev]},
{:dialyxir, "~> 1.0", runtime: false, only: [:dev]},
{:sobelow, "~> 0.9", runtime: false, only: [:dev]},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false, only: [:dev, :test]}
]
end
defp description do
"Httpoison boosted with telemetry, mox and ex_rated."
end
defp package do
[
# This option is only needed when you don't want to use the OTP application name
name: "http_client",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/nash-io/http_client"}
]
end
end