-
Notifications
You must be signed in to change notification settings - Fork 20
/
mix.exs
46 lines (41 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
defmodule Peerage.Mixfile do
use Mix.Project
def project do
[app: :peerage,
version: "1.0.3",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(), # # docs
description: description(),
name: "Peerage",
source_url: "https://github.com/mrluc/peerage",
homepage_url: "https://github.com/mrluc/peerage",
docs: [main: "readme", extras: ["README.md"]]]
end
def description do
"""
Easy clustering, pluggable discovery: via DNS (for Kubernetes, Weave, discoverd, Swarm and others), UDP multicast, or a plain list of nodes. Easy extensibility for custom Providers.
"""
end
def package do
[ # These are the default files included in the package
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Luc Fueston"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mrluc/peerage",
"Docs" => "https://hexdocs.pm/peerage/readme.html"}]
end
def application do
[applications: [:logger, :deferred_config],
mod: {Peerage, []}]
end
defp deps do
[
{:deferred_config, "~> 0.1.1"},
{:ex_doc, "~> 0.14", only: :dev},
{:credo, "~> 0.5", only: [:dev, :test]},
]
end
end