forked from cstar/pigeon
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
56 lines (51 loc) · 1.62 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 Pigeon.Mixfile do
use Mix.Project
def project do
[app: :pigeon,
name: "Pigeon",
version: "0.10.3",
elixir: "~> 1.2",
source_url: "https://github.com/codedge-llc/pigeon",
description: description(),
package: package(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test,
"coveralls.post": :test, "coveralls.html": :test],
docs: [main: "getting-started",
extras: ["docs/Getting Started.md",
"docs/APNS Apple iOS.md",
"docs/GCM Android.md",
"docs/ADM Amazon Android.md",
"CHANGELOG.md"]],
deps: deps()]
end
def application do
[applications: [:logger, :httpoison, :poolboy, :chatterbox, :hpack],
mod: {Pigeon, []}]
end
defp deps do
[{:poison, "~> 2.0 or ~> 3.0"},
{:httpoison, "~> 1.4"},
{:chatterbox, github: "rslota/chatterbox", tag: "20f0096"},
{:poolboy, "~> 1.5"},
{:dogma, "~> 0.1", only: :dev},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.2", only: :dev},
{:excoveralls, "~> 0.5", only: :test}]
end
defp description do
"""
HTTP2-compliant wrapper for sending iOS (APNS), Android (GCM), and Amazon Android (ADM) push notifications.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Henry Popp", "Tyler Hurst"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/codedge-llc/pigeon"}
]
end
end