summaryrefslogtreecommitdiff
path: root/mix.exs
blob: fdab96af2ab3c13b05f73e93ce864870e7c4916d (plain) (blame)
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
defmodule PowerDNSex.Mixfile do
  use Mix.Project

  def project do
    [
      app: :powerdnsex,
      version: "0.5.0",
      elixir: "~> 1.6",
      description: description(),
      package: package(),
      build_embedded: Mix.env() == :prod,
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  def application do
    [applications: [:logger, :poison, :httpoison, :poolboy], mod: {PowerDNSex, []}]
  end

  defp deps do
    [
      {:poolboy, "~> 1.5"},
      {:httpoison, "~> 1.5.0"},
      {:poison, "~> 3.0 or ~> 4.0.1"},
      {:exvcr, "~> 0.10.3", only: :test},
      {:ex_doc, ">= 0.0.0", only: :dev}
    ]
  end

  defp description do
    """
    A Client to integrate with PowerDNS API version 4
    """
  end

  defp package do
    [
      maintainers: ["Lindolfo Rodrigues"],
      licenses: ["MIT"],
      links: %{"GitHub" => "https://github.com/locaweb/power_dnsex"}
    ]
  end
end