-
Notifications
You must be signed in to change notification settings - Fork 60
/
mix.exs
63 lines (55 loc) · 1.18 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 SweetXml.Mixfile do
use Mix.Project
def version, do: "0.7.4"
def app, do: :sweet_xml
def source_url, do: "https://github.com/kbrw/#{app()}"
def project do
[
app: app(),
version: version(),
elixir: "~> 1.12",
description: "A sweet wrapper of :xmerl to help query XML docs",
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
applications: [:logger, :xmerl]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [title: "Changelog"],
"README.md": [title: "Overview"]
],
main: "readme",
source_url: source_url(),
# We need to git tag with the corresponding format.
source_ref: "v#{version()}",
]
end
defp package do
[
maintainers: [
"Frank Liu",
"Arnaud Wetzel",
"Tomáš Brukner",
"Vinícius Sales",
"Sean Tan"
],
licenses: ["MIT"],
links: %{
"Changelog" => "https://hexdocs.pm/#{app()}/changelog.html",
"GitHub" => source_url(),
}
]
end
end