-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
66 lines (61 loc) · 1.69 KB
/
mix.exs
File metadata and controls
66 lines (61 loc) · 1.69 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
62
63
64
65
66
defmodule WebhooksEmitter.MixProject do
@moduledoc false
use Mix.Project
def project do
[
app: :webhooks_emitter,
description: "Emits your events as outgoing http webhooks.",
source_url: "https://github.com/VoiSmart/webhooks_emitter",
homepage_url: "https://github.com/VoiSmart/webhooks_emitter",
version: "0.2.0",
elixir: "~> 1.10",
elixirc_options: [warnings_as_errors: true],
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:logger],
mod: {WebhooksEmitter.Application, []}
]
end
defp package do
[
mantainers: ["Matteo Brancaleoni"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/VoiSmart/webhooks_emitter"}
]
end
defp docs do
[
extras: ["README.md"],
nest_modules_by_prefix: [WebhooksEmitter, Emitter.JsonSafeEncoder]
]
end
defp deps do
[
{:httpoison, "~> 1.7"},
{:jason, "~> 1.1"},
{:elixir_uuid, "~> 1.2"},
{:gen_state_machine, "~> 3.0"},
{:backoff, "~> 1.1"},
# devel stuff
{:hammox, "~> 0.3", only: :test},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.23", only: :dev, runtime: false},
{:excoveralls, "~> 0.13", only: :test},
{:stream_data, "~> 0.5", only: :test}
]
end
end