Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Bluepay.Mixfile do
use Mix.Project
def project do
[ app: :bluepay,
version: "0.2.0",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
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.0"}, # HTTP client
{:faker, "~> 0.6.0", only: :test}, # Generate fake data for tests
{:ex_doc, ">= 0.0.0", only: :dev}, # Generate docs.
]
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