-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
45 lines (40 loc) · 961 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
43
44
45
defmodule Geonames.Mixfile do
use Mix.Project
def project do
[
app: :geonames,
version: "1.0.5",
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "GeoNames-Elixir",
description: description(),
package: package()
]
end
def application do
[extra_applications: [:httpoison, :jason, :httpoison]]
end
defp deps do
[
{:jason, "> 1.0.0", optional: true},
{:poison, "> 3.0.0", optional: true},
{:httpoison, "~> 1.8"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
defp description do
"""
A simple wrapper around the geonames.org JSON API
"""
end
defp package do
[
maintainers: ["Adrian Hooper"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/pareeohnos/geonames-elixir"},
files: ~w(mix.exs README.md lib)
]
end
end