forked from akira/exq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
55 lines (51 loc) · 1.47 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
defmodule Exq.Mixfile do
use Mix.Project
def project do
[
app: :exq,
version: "0.14.0",
elixir: "~> 1.6",
elixirc_paths: ["lib"],
package: [
maintainers: [
"Alex Kira",
"zhongwencool",
"Anantha Kumaran"
],
links: %{"GitHub" => "https://github.com/akira/exq"},
licenses: ["Apache 2.0"],
files: ~w(lib test) ++ ~w(LICENSE mix.exs README.md)
],
description: """
Exq is a job processing library compatible with Resque / Sidekiq for the Elixir language.
""",
deps: deps(),
test_coverage: [tool: ExCoveralls],
docs: [extras: ["README.md"]]
]
end
# Configuration for the OTP application
def application do
[
mod: {Exq, []},
applications: [:logger, :redix, :elixir_uuid]
]
end
# Returns the list of dependencies in the format:
# { :foobar, "0.1", git: "https://github.com/elixir-lang/foobar.git" }
defp deps do
[
{:elixir_uuid, ">= 1.2.0"},
{:redix, ">= 0.9.0"},
{:poison, ">= 1.2.0 and < 5.0.0", optional: true},
{:jason, "~> 1.0", optional: true},
{:excoveralls, "~> 0.6", only: :test},
{:flaky_connection, git: "https://github.com/hamiltop/flaky_connection.git", only: :test},
# docs
{:ex_doc, "~> 0.19", only: :dev},
{:earmark, "~> 1.0", only: :dev},
{:benchee, "~> 1.0", only: :dev},
{:ranch, "~> 1.6", only: :test, override: true}
]
end
end