-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
48 lines (43 loc) · 1.13 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
defmodule Population.Mixfile do
use Mix.Project
@description """
Elixir OTP application library for the World Population API (api.population.io)
"""
def project do
[app: :population,
version: "0.1.2",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
name: "Population",
description: @description,
docs: [main: "Population"],
package: package(),
deps: deps(),
source_url: "https://github.com/Angarsk8/population.ex"]
end
def application do
[applications: [:logger, :httpoison],
mod: {Population, []},
registered: [
Population.Country,
Population.LifeExpectancy,
Population.Mortality,
Population.Rank,
Population.Table
]]
end
defp deps do
[
{:httpoison, "~> 0.10.0"},
{:json, "~> 1.0"},
{:dialyxir, "~> 0.4", only: [:dev], runtime: false},
{:ex_doc, "~> 0.14", only: :dev}
]
end
defp package do
[ maintainers: ["Andrés García"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/Angarsk8/population.ex"} ]
end
end