-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
50 lines (44 loc) · 964 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
48
49
50
defmodule ExSignal.MixProject do
use Mix.Project
@github_url "https://github.com/jungsoft/ex_signal"
def project do
[
app: :ex_signal,
version: "0.3.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "ex_signal",
source_url: @github_url,
description: "Elixir wrapper for the OneSignal API",
package: package(),
]
end
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
files: ~w(lib mix.exs README*),
licenses: ["MIT"],
links: %{
"GitHub" => @github_url,
"Docs" => "https://hexdocs.pm/ex_signal/"
}
]
end
defp deps do
[
# Tesla
{:tesla, "~> 1.3.0"},
{:hackney, "~> 1.16"},
{:jason, ">= 1.0.0"},
# Testing
{:hammox, "~> 0.2", only: :test},
# Docs
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
]
end
end