-
Notifications
You must be signed in to change notification settings - Fork 341
/
mix.exs
65 lines (60 loc) · 1.4 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
58
59
60
61
62
63
64
65
defmodule HTTPoison.Mixfile do
use Mix.Project
@description "Yet Another HTTP client for Elixir powered by hackney"
@source_url "https://github.com/edgurgel/httpoison"
def project do
[
app: :httpoison,
version: "2.2.1",
elixir: "~> 1.11",
name: "HTTPoison",
description: @description,
package: package(),
deps: deps(),
source_url: @source_url,
docs: [
main: "readme",
logo: "logo.png",
extras: [
"README.md",
"CHANGELOG.md"
]
],
dialyzer: [
plt_add_deps: :transitive,
flags: [
:unmatched_returns,
:race_conditions,
:underspecs
# :overspecs,
# :specdiffs
]
]
]
end
def application do
[]
end
defp deps do
[
{:hackney, "~> 1.17"},
{:mimic, "~> 0.1", only: :test},
{:jason, "~> 1.2", only: :test},
{:httparrot, "~> 1.2", only: :test},
{:cowboy, "~> 2.8", only: :test, override: true},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.18", only: :dev},
{:dialyxir, "~> 1.0.0-rc.3", only: [:dev, :test], runtime: false}
]
end
defp package do
[
maintainers: ["Eduardo Gurgel Pinho"],
licenses: ["MIT"],
links: %{
Changelog: @source_url <> "/blob/master/CHANGELOG.md",
GitHub: @source_url
}
]
end
end