-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
55 lines (49 loc) · 1.07 KB
/
Copy pathmix.exs
File metadata and controls
55 lines (49 loc) · 1.07 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
defmodule LibclusterEtcd.MixProject do
use Mix.Project
def project do
[
app: :libcluster_etcd,
version: "1.1.1",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
source_url: "https://github.com/dkataskin/libcluster_etcd",
docs: docs(),
deps: deps()
]
end
def application do
[
extra_applications: [:inets, :logger]
]
end
defp deps do
[
{:libcluster, "~> 3.0.0"},
{:jason, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description() do
"etcd clustering strategy for libcluster"
end
defp package() do
[
name: "libcluster_etcd",
maintainers: ["Dmitriy Kataskin"],
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/dkataskin/libcluster_etcd"}
]
end
defp docs do
[
main: "readme",
formatter_opts: [gfm: true],
extras: [
"README.md"
]
]
end
end