forked from lyokato/redlock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
43 lines (39 loc) · 912 Bytes
/
mix.exs
File metadata and controls
43 lines (39 loc) · 912 Bytes
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
defmodule Redlock.Mixfile do
use Mix.Project
def project do
[
app: :redlock,
version: "1.0.4",
elixir: "~> 1.5",
package: package(),
start_permanent: Mix.env == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger, :secure_random, :redix, :poolboy, :ex_hash_ring]
]
end
defp deps do
[
{:ex_doc, "~> 0.15", only: :dev, runtime: false},
{:redix, "~> 0.8.1"},
{:poolboy, "~> 1.5"},
{:fastglobal, "~> 1.0.0"},
{:ex_hash_ring, "~> 3.0"},
{:secure_random, "~> 0.5.1"}
]
end
defp package() do
[
description: "Redlock (Redis Distributed Lock) implementation",
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/lyokato/redlock",
"Docs" => "https://hexdocs.pm/redlock"
},
maintainers: ["Lyo Kato"]
]
end
end