-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
51 lines (46 loc) · 1.13 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
defmodule LoggerAmqpBackend.MixProject do
use Mix.Project
def project do
[
app: :logger_amqp_backend,
version: "0.1.7",
elixir: "> 1.10.3",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps(),
description: description(),
package: package(),
name: "logger_amqp_backend",
source_url: "https://github.com/denvera/logger_amqp_backend"
]
end
def application do
[
applications: [:amqp, :jason]
]
end
defp deps do
[
{:amqp, "~> 3.2"},
{:jason, "~> 1.4"},
{:ex_doc, "~> 0.29", only: :dev, runtime: false},
{:mock, "~> 0.3.0", only: :test},
{:excoveralls, "~> 0.10", only: :test}
]
end
defp description() do
"Elixir Logger backend to send logs to an AMQP broker (eg: RabbitMQ)"
end
defp package() do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/denvera/logger_amqp_backend"}
]
end
end