forked from altyaper/conekta-elixir
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
49 lines (44 loc) · 1.05 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 Conekta.Mixfile do
use Mix.Project
@description """
Elixir library for Conekta api calls
"""
def project do
[
app: :conekta,
version: "1.2.0",
description: @description,
name: "Conekta",
elixir: "~> 1.14",
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
source_url: "https://github.com/Ventup-IT/conekta-elixir"
]
end
def application do
[
applications: [:httpoison, :logger],
extra_applications: [:poison]
]
end
defp deps do
[
{:certifi, "~> 2.6.1"},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:hackney, "~> 1.17.4"},
{:httpoison, "~> 1.6"},
{:poison, "~> 4.0"},
{:mock, "~> 0.3.0", only: :test},
{:ex_doc, "~> 0.22", only: :dev, runtime: false}
]
end
defp package do
[
maintainers: ["VentUp"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/Ventup-IT/conekta-elixir.git"}
]
end
end