Packages

Unofficial Elixir client for processing payments through Bluepay.

Current section

Files

Jump to
bluepay mix.exs
Raw

mix.exs

defmodule Bluepay.Mixfile do
use Mix.Project
def project do
[ app: :bluepay,
version: "0.3.0",
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
[
{:uuid, "~> 1.1"}, # Generate UUIDs
{:httpotion, "~> 3.0.2"}, # HTTP client
{:ex_doc, ">= 0.0.0", only: :dev}, # Generate docs
{:faker, "~> 0.7.0", only: :test}, # Generate fake data for tests
{:bypass, "~> 0.5.1", only: :test}, # Prebaked responses to client requests
{:excoveralls, "~> 0.5.7", only: :test}, # Measure test coverage
]
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