Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Bluepay.Mixfile do
use Mix.Project
def project do
[
app: :bluepay,
version: "0.4.2",
elixir: "~> 1.3",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
preferred_cli_env: [
coveralls: :test,
"coveralls.html": :test,
"coveralls.json": :test
],
test_coverage: [tool: ExCoveralls],
description: description(),
package: package()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:httpotion]]
end
defp description do
"""
Unofficial Elixir client for processing payments through Bluepay.
"""
end
defp deps do
[
# Generate UUIDs
{:elixir_uuid, "~> 1.2"},
# HTTP client
{:httpotion, "~> 3.1.0"},
# Generate docs
{:ex_doc, "~> 0.19", only: :dev},
# Generate fake data for tests
{:faker, "~> 0.10.0", only: :test},
# Prebaked responses to client requests
{:bypass, "~> 0.8.1", only: :test},
# Measure test coverage
{:excoveralls, "~> 0.9.1", only: :test}
]
end
defp package do
[
name: :bluepay,
description: "Unofficial Elixir client for processing payments through Bluepay.",
maintainers: ["Mark Madsen"],
licenses: ["MIT"],
files: ["lib", "mix.exs", "README*", "LICENSE*"],
links: %{
"GitHub" => "https://github.com/SoundPays/bluepay-elixir"
}
]
end
end