-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
57 lines (49 loc) · 1.26 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
defmodule Conejo.Mixfile do
use Mix.Project
@version "0.6.0"
def project do
[
app: :conejo,
version: @version,
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
docs: [
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/mendrugory/conejo",
extras: ["README.md"]
]
]
end
def application do
[extra_applications: [:logger], mod: {Conejo, []}]
end
defp description do
"""
Conejo is an OTP application/library which will help you to define your AMQP/RabbitMQ publishers and consumers in an easier way.
"""
end
defp deps do
[
{:amqp, "~> 1.1.0"},
{:confex, "~> 3.2.0"},
{:earmark, ">= 0.0.0", only: :dev},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
name: :conejo,
maintainers: ["Gonzalo Jiménez Fuentes"],
licenses: ["MIT License"],
links: %{"GitHub" => "https://github.com/mendrugory/conejo"}
]
end
defp elixirc_paths(:test), do: ["lib","test"]
defp elixirc_paths(_), do: ["lib"]
end