Current section
Files
Jump to
Current section
Files
open_exchange_rates
mix.exs
mix.exs
defmodule OpenExchangeRates.Mixfile do
use Mix.Project
def project do
[
app: :open_exchange_rates,
description: "A library that can convert currencies and uses automatic updating of the currrency rates using openexchangerates.org",
package: package,
version: "0.3.0",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
docs: [extras: ["README.md", "CHANGELOG.md"]],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
test_coverage: [tool: ExCoveralls]
]
end
def application do
[
mod: {OpenExchangeRates, []},
applications: [:logger, :httpoison, :currency_formatter]
]
end
defp deps do
[
{:httpoison, "~>0.9.0"},
{:poison, "~>2.2.0"},
{:exvcr, "~>0.8.1", only: [:dev, :test]},
{:credo, "~>0.4.7", only: [:dev, :test]},
{:mix_test_watch, "~>0.2.6", only: [:dev, :test]},
{:ex_doc, "~>0.13.0", only: [:dev, :test]},
{:excoveralls, "~> 0.5", only: :test},
{:currency_formatter, "~>0.4.2"}
]
end
defp package do
[
maintainers: ["Gerard de Brieder"],
licenses: ["MIT"],
files: ["lib", "priv", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
links: %{
"GitHub" => "https://github.com/smeevil/open_exchange_rates",
"Docs" => "https://smeevil.github.com/open_exchange_rates",
"Changelog" => "https://smeevil.github.com/open_exchange_rates/changelog.html",
}
]
end
end