Current section
Files
Jump to
Current section
Files
ex_changerate
mix.exs
mix.exs
defmodule ExChangerate.MixProject do
@moduledoc false
use Mix.Project
@version "0.1.1"
def project do
[
app: :ex_changerate,
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :httpoison],
env: [api_instance: "https://api.exchangerate.host"]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
{:httpoison, "~> 1.7"},
{:poison, "~> 4.0"},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:inch_ex, "~> 2.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
defp description do
"""
Elixir client for exchangerate.host API
"""
end
defp package do
[
files: ["README.md", "LICENSE", "mix.exs", "lib"],
maintainers: ["81dr"],
licenses: ["0BSD"],
links: %{
"Changelog" => "https://github.com/81dr/blob/master/CHANGELOG.md",
"GitHub" => "https://github.com/81dr/ex_changerate"
}
]
end
end