forked from pau-riosa/PayPal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
58 lines (53 loc) · 1.46 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
50
51
52
53
54
55
56
57
58
defmodule PayPal.Mixfile do
use Mix.Project
def project do
[
app: :pay_pal,
version: "0.0.2",
elixir: "~> 1.5",
build_embedded: Application.get_env(:pay_pal, :environment) == :prod,
start_permanent: Application.get_env(:pay_pal, :environment) == :prod,
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
deps: deps(),
docs: [extras: ["README.md"], main: "readme"],
dialyzer: [plt_add_deps: true]
]
end
def application do
[
extra_applications: [:logger, :httpoison],
mod: {PayPal.Application, []}
]
end
defp deps do
[
{:httpoison, "~> 2.0"},
{:poison, "~> 3.1"},
{:oauth2, "~> 2.0"},
{:exvcr, "~> 0.15", only: [:dev, :test]},
{:ex_doc, "~> 0.23", only: [:dev, :docs]},
{:excoveralls, "~> 0.10", only: [:dev, :test]},
{:inch_ex, github: "rrrene/inch_ex", only: [:dev, :test]},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false}
]
end
defp description do
"""
Elixir library for working with the PayPal REST API.
"""
end
defp package do
[
licenses: ["MIT"],
keywords: ["Elixir", "PayPal", "REST", "Payments", "API"],
maintainers: ["Zen Savona"],
links: %{
"GitHub" => "https://github.com/zensavona/paypal",
"Docs" => "https://hexdocs.pm/paypal"
}
]
end
end