-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
56 lines (52 loc) · 1.43 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 Mpesa.MixProject do
use Mix.Project
def project do
[
app: :mpesa,
version: "0.1.2",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
description: "This is wrapper for Daraja Mpesa STK implementation(Lipa na Mpesa Online)",
package: package(),
deps: deps(),
# Docs
name: "Mpesa Elixir",
source_url: "https://github.com/manuelgeek/mpesa_elixir.git",
homepage_url: "https://hexdocs.pm/mpesa/Mpesa.html",
docs: [
# The main page in the docs
main: "ex_pesa",
# logo:
# "https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/M-PESA_LOGO-01.svg/1200px-M-PESA_LOGO-01.svg.png",
extras: ["README.md"]
]
]
end
defp package do
[
name: "ex_pesa",
maintainers: [" ManuEl Magak "],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/manuelgeek/mpesa_elixir.git",
"Documentation" => "https://hexdocs.pm/mpesa/Mpesa.html",
"README" => "https://hexdocs.pm/mpesa/readme.html"
}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poison, "~> 3.1"},
{:httpoison, "~> 1.6"},
{:timex, "~> 3.5"},
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
]
end
end