-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
47 lines (42 loc) · 993 Bytes
/
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
defmodule MpesaElixir.MixProject do
use Mix.Project
@description """
Elixir wrapper for Safricom Mpesa API
"""
def project do
[
app: :mpesa_elixir,
version: "0.1.1",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
description: @description,
package: package(),
deps: deps(),
name: "MpesaElixir"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :httpotion, :timex]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpotion, "~> 3.1.0"},
{:poison, "~> 3.1"},
{:rsa, "~> 0.0.1 "},
{:ex_crypto, "~> 0.9.0"},
{:timex, "~> 3.1"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
maintainers: ["John Invictus"],
licenses: ["Apache 2.0"],
links: %{"Github" => "https://github.com/johninvictus/mpesa_elixir"}
]
end
end