-
Notifications
You must be signed in to change notification settings - Fork 14
/
mix.exs
50 lines (45 loc) · 1.32 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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