-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
61 lines (56 loc) · 1.35 KB
/
mix.exs
File metadata and controls
61 lines (56 loc) · 1.35 KB
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
57
58
59
60
61
defmodule Rocket.Mixfile do
use Mix.Project
def project do
[
app: :rocket,
version: "0.0.1",
elixir: "~> 1.5",
description: description(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
vcr: :test,
"vcr.delete": :test,
"vcr.check": :test,
"vcr.show": :test
],
deps: deps()
]
end
# Configuration for the OTP application
def application do
[extra_applications: [:logger], mod: {Rocket.Application, []}]
end
defp description do
"""
A Firebase Cloud Message HTTP v1 client for Elixir
"""
end
defp deps do
[
{:httpoison, "~> 2.0"},
{:jason, "~> 1.1"},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:goth, "~> 1.0"},
{:gen_stage, "~> 1.0"},
{:exvcr, "~> 0.13", only: :test}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Tom Pesman"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/9to5/rocket",
"Docs" => "https://hexdocs.pm/rocket"
}
]
end
end