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

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

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

  defp deps do
    [{:httpoison, "~> 0.9.0"},
     {:poison, "~> 2.2"},
     {:exvcr, "~> 0.8.0", only: :test}]
  end

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

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