Current section

Files

Jump to
sparkpost mix.exs
Raw

mix.exs

defmodule SparkPost.Mixfile do
use Mix.Project
def project do
[app: :sparkpost,
version: "0.5.2",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
source_url: "https://github.com/SparkPost/elixir-sparkpost",
description: "The official Elixir package for the SparkPost API",
package: package(),
deps: deps(),
docs: [
extras: ["README.md", "CONTRIBUTING.md", "CHANGELOG.md"]
],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test]
]
end
def application do
[applications: [:httpoison]]
end
defp deps do
[
{:httpoison, "~> 1.0"},
{:poison, "~> 2.0 or ~> 3.0"},
{:mock, "~> 0.2.0", only: :test},
{:excoveralls, "~> 0.5.7", only: :test},
{:credo, "~> 0.5.1", only: [:dev, :test]},
{:earmark, "~> 1.0.3", only: :dev},
{:ex_doc, "~> 0.14.3", only: :dev}
]
end
defp package do
[
files: ["mix.exs", "lib", "README.md", "CONTRIBUTING.md", "LICENSE.md"],
maintainers: ["Ewan Dennis"],
licenses: ["Apache 2.0"],
links: %{
"Github" => "https://github.com/SparkPost/elixir-sparkpost",
"SparkPost.com" => "https://www.sparkpost.com/"
}
]
end
end