-
Notifications
You must be signed in to change notification settings - Fork 182
/
mix.exs
65 lines (58 loc) · 1.53 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
defmodule Exq.Mixfile do
use Mix.Project
@source_url "https://github.com/akira/exq"
@version "0.19.0"
def project do
[
app: :exq,
version: @version,
elixir: "~> 1.7",
elixirc_paths: ["lib"],
test_coverage: [tool: ExCoveralls],
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
mod: {Exq, []},
applications: [:logger, :redix, :elixir_uuid]
]
end
defp deps do
[
{:elixir_uuid, ">= 1.2.0"},
{:redix, ">= 0.9.0"},
{:poison, ">= 1.2.0 and < 6.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.0.0", only: :dev, runtime: false},
{:benchee, "~> 1.0", only: :dev, runtime: false},
{:ranch, "~> 1.6", only: :test, override: true}
]
end
defp package do
[
description: """
Exq is a job processing library compatible with Resque / Sidekiq for the
Elixir language.
""",
maintainers: ["Alex Kira", "zhongwencool", "Anantha Kumaran"],
licenses: ["Apache-2.0"],
files: ~w(lib test) ++ ~w(LICENSE mix.exs CHANGELOG.md README.md),
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
extras: ["CHANGELOG.md", "README.md"],
main: "readme",
formatters: ["html"],
source_url: @source_url,
source_ref: "v#{@version}"
]
end
end