-
Notifications
You must be signed in to change notification settings - Fork 18
/
mix.exs
63 lines (56 loc) · 1.33 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
63
defmodule Domainatrex.Mixfile do
use Mix.Project
def project do
[
app: :domainatrex,
version: "3.0.4",
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
# Docs
name: "Domainatrex",
description: description(),
source_url: "https://github.com/Zensavona/domainatrex",
docs: docs()
]
end
def application do
[extra_applications: [:logger, :inets, :ssl]]
end
defp deps do
[
{:ex_doc, "~> 0.31", only: [:dev]}
]
end
defp package do
[
licenses: ["MIT"],
keywords: ["Elixir", "Domain", "TLD", "Public Suffix"],
maintainers: ["Zen Savona"],
links: %{
"GitHub" => "https://github.com/zensavona/domainatrex",
"Public Suffix List" => "https://publicsuffix.org/list/"
}
]
end
defp description do
"""
Domain / TLD parsing library for Elixir, using the Public Suffix List.
"""
end
defp docs do
[
main: "overview",
api_reference: false,
formatters: ["html"],
extra_section: "Pages",
extras: [
"README.md": [filename: "overview", title: "Overview"],
"CHANGELOG.md": [filename: "changelog", title: "Changelog"]
],
source_ref: "master"
]
end
end