forked from adrienmo/eredis_cluster
-
Notifications
You must be signed in to change notification settings - Fork 19
/
mix.exs
62 lines (57 loc) · 1.28 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
defmodule EredisCluster.Mixfile do
use Mix.Project
@source_url "https://github.com/Nordix/eredis_cluster/"
@version String.trim(File.read!("VERSION"))
def project do
[
app: :eredis_cluster,
deps: deps(),
description: "An erlang wrapper for eredis library to support cluster mode",
docs: [
main: "readme",
extras: [
"README.md",
"CHANGELOG.md",
"doc/eredis_cluster.md",
"doc/eredis_cluster_monitor.md"
],
api_reference: false
],
elixir: ">= 1.5.1",
package: package(),
source_url: @source_url,
start_permanent: Mix.env() == :prod,
version: @version
]
end
def application do
[
mod: {:eredis_cluster, []},
applications: [:eredis, :poolboy]
]
end
defp deps do
[
{:poolboy, "1.5.2"},
{:eredis, "~> 1.5"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
defp package do
[
files: [
"src",
"include",
"mix.exs",
"rebar.config",
"README.md",
"CHANGELOG.md",
"LICENSE",
"VERSION"
],
maintainers: ["Viktor Söderqvist", "Björn Svensson"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end