Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Paidy.Mixfile do
use Mix.Project
def project do
[
app: :paidy,
version: "0.2.2",
elixir: "~> 1.4",
description: description(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
vcr: :test,
"vcr.delete": :test,
"vcr.check": :test,
"vcr.show": :test
],
deps: deps
]
end
# Configuration for the OTP application
def application do
[
applications: [:httpoison]
]
end
defp deps do
[
{:httpoison, ">= 0.0.0"},
{:poison, ">= 0.0.0", optional: true},
{:retry, ">= 0.0.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:excoveralls, "~> 0.7.1", only: :test},
{:exvcr, "~> 0.8.11", only: [:test, :dev]},
{:mock, ">= 0.0.0", only: :test},
{:inch_ex, ">= 0.0.0", only: [:dev, :test]},
{:cortex, "~> 0.1", only: [:dev, :test]}
]
end
defp description do
"""
A Paidy Library for Elixir.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Shuhei Hayashibara"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/shufo/paidy-elixir",
"Docs" => "https://hexdocs.pm/paidy"
}
]
end
end