-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
42 lines (36 loc) · 918 Bytes
/
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
defmodule Ivar.Httpoison.Mixfile do
use Mix.Project
def project do
[app: :ivar_httpoison,
version: "0.2.0",
elixir: "~> 1.4",
description: description(),
package: package(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
end
def application do
[extra_applications: [:logger, :httpoison]]
end
defp deps do
[
{:httpoison, "~> 0.11.0"},
{:idna, "~> 4.0"},
{:ivar, "~> 0.10.1"},
# dev/test deps
{:poison, "~> 3.0", only: :test},
{:ex_doc, "~> 0.16", only: :dev},
{:bypass, "~> 0.6.0", only: :test}
]
end
defp description do
"An HTTPoison adapter for the Ivar HTTP client"
end
defp package do
[name: :ivar_httpoison,
maintainers: ["swelham"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/swelham/ivar_httpoison"}]
end
end