-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmix.exs
More file actions
48 lines (42 loc) · 1003 Bytes
/
mix.exs
File metadata and controls
48 lines (42 loc) · 1003 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
44
45
46
47
48
defmodule DNSCluster.MixProject do
use Mix.Project
@version "0.2.0"
@scm_url "https://github.com/phoenixframework/dns_cluster"
def project do
[
app: :dns_cluster,
package: package(),
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
source_url: @scm_url,
homepage_url: @scm_url,
description: "Simple DNS clustering for distributed Elixir nodes",
docs: docs()
]
end
defp package do
[
maintainers: ["Chris McCord"],
licenses: ["MIT"],
links: %{"GitHub" => @scm_url},
files: ~w(lib CHANGELOG.md LICENSE.md mix.exs README.md .formatter.exs)
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[{:ex_doc, ">= 0.0.0", only: :docs}]
end
defp docs do
[
source_ref: "v#{@version}",
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
extras: ["CHANGELOG.md"]
]
end
end