forked from pma/amqp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
62 lines (53 loc) · 1.52 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
57
58
59
60
61
62
defmodule AMQP.Mixfile do
use Mix.Project
@version "1.0.3"
def project do
[app: :amqp,
version: @version,
elixir: "~> 1.3",
description: description(),
package: package(),
source_url: "https://github.com/pma/amqp",
deps: deps(),
dialyzer: [
ignore_warnings: "dialyzer.ignore-warnings",
plt_add_deps: :transitive,
flags: [:error_handling, :race_conditions, :no_opaque, :underspecs]
],
docs: [extras: ["README.md"], main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/pma/amqp"]]
end
def application do
[applications: [:lager, :logger, :amqp_client]]
end
defp deps do
[
{:amqp_client, "~> 3.7.3"},
{:rabbit_common, "~> 3.7.3"},
# We have an issue on rebar3 dependencies.
# https://github.com/pma/amqp/issues/78
{:goldrush, "~> 0.1.0"},
{:jsx, "~> 2.8"},
{:lager, "~> 3.5"},
{:ranch, "~> 1.4"},
{:ranch_proxy_protocol, "~> 1.4"},
{:recon, "~> 2.3.2"},
{:earmark, "~> 1.0", only: :docs},
{:ex_doc, "~> 0.15", only: :docs},
{:inch_ex, "~> 0.5", only: :docs},
{:dialyxir, "~> 0.5", only: :dev, runtime: false}
]
end
defp description do
"""
Idiomatic Elixir client for RabbitMQ.
"""
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Paulo Almeida", "Eduardo Gurgel"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/pma/amqp"}]
end
end