Current section
Files
Jump to
Current section
Files
population
mix.exs
mix.exs
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