-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmix.exs
More file actions
56 lines (49 loc) · 1.09 KB
/
mix.exs
File metadata and controls
56 lines (49 loc) · 1.09 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
defmodule ExCelery.Mixfile do
use Mix.Project
def project do
[
app: :ex_celery,
version: "0.2.0",
description: description(),
package: package(),
deps: deps(),
]
end
def application do
application(Mix.env)
end
def application(:test) do
[applications: [:logger]]
end
def application(_) do
[
applications: [:logger],
mod: {ExCelery.Application, []},
]
end
defp deps do
[
{:amqp_client, git: "https://github.com/jbrisbin/amqp_client.git", override: true},
{:amqp, "0.1.4"},
{:poison, "~> 2.2"},
{:uuid, "~> 1.1"},
{:mock, "~> 0.2.0", only: :test},
]
end
defp description do
"""
A Celery producer for Elixir. Currently supports the RabbitMQ broker, and
only publishing tasks (not running them or retrieving their result).
"""
end
defp package do
[
maintainers: ["Rob Golding"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/robgolding/ex_celery",
"Docs" => "https://github.com/robgolding/ex_celery",
},
]
end
end