forked from Zensavona/PayPal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
56 lines (51 loc) · 1.36 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
defmodule PayPal.Mixfile do
use Mix.Project
def project do
[
app: :pay_pal,
version: "0.0.2",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :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, "~> 0.13"},
{:poison, "~> 3.1.0"},
{:oauth2, "~> 0.9.1"},
{:exvcr, "~> 0.8.8", only: [:dev, :test]},
{:ex_doc, "~> 0.15.0", only: [:dev, :docs]},
{:excoveralls, "~> 0.6.2", only: [:dev, :test]},
{:inch_ex, "~> 0.5.6", only: [:dev, :docs]},
{:credo, "~> 0.7.0", only: :dev},
{:dialyxir, "~> 0.5", only: [:dev, :test], 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