This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
mix.exs
68 lines (61 loc) · 1.74 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
63
64
65
66
67
68
defmodule GenRMQ.Mixfile do
use Mix.Project
@version "4.0.0"
def project do
[
app: :gen_rmq,
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
test_coverage: [tool: ExCoveralls],
description: description(),
package: package(),
source_url: "https://github.com/meltwater/gen_rmq",
docs: [
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/meltwater/gen_rmq"
],
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
plt_add_apps: [:mix],
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support", "examples"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:amqp, "~> 3.0"},
{:telemetry, "~> 1.0"},
{:credo, "~> 1.5", only: :dev},
{:excoveralls, "~> 0.14", only: :test},
{:jason, "~> 1.2", only: [:dev, :test]},
{:earmark, "~> 1.4", only: :dev},
{:ex_doc, "~> 0.25", only: :dev},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false}
]
end
defp description() do
"Set of behaviours meant to be used to create RabbitMQ consumers and publishers."
end
defp package() do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Mateusz Korszun"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/meltwater/gen_rmq"}
]
end
end