Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ECBRates.MixProject do
use Mix.Project
def project do
[
app: :ecb_rates,
version: "1.0.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {ECBRates.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:saxy, "~> 1.5"},
{:httpoison, "~> 2.0"},
{:poison, "~> 6.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp description() do
"""
This library fetches historic EUR rates from the European Central Bank (ECB).
It's heavily inspired by the Elixir OpenExchangeRates library.
"""
end
defp package() do
[
licenses: ["ISC"],
links: %{"GitHub" => "https://github.com/venndr/ecb_rates"}
]
end
end