forked from qcam/saxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
59 lines (53 loc) · 1.26 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
defmodule Saxy.MixProject do
use Mix.Project
@source_url "https://github.com/qcam/saxy"
@version "1.5.1"
def project() do
[
app: :saxy,
version: @version,
elixir: "~> 1.11",
name: "Saxy",
consolidate_protocols: Mix.env() != :test,
deps: deps(),
package: package(),
docs: docs()
]
end
def application(), do: []
defp package() do
[
description:
"Saxy is an XML parser and encoder in Elixir that focuses on speed " <>
"and standard compliance.",
maintainers: ["Cẩm Huỳnh"],
licenses: ["MIT"],
links: %{
"Changelog" => "https://hexdocs.pm/saxy/changelog.html",
"GitHub" => @source_url
}
]
end
defp deps() do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:stream_data, "~> 0.5", only: [:dev, :test]}
]
end
defp docs() do
[
extras: [
"CHANGELOG.md",
{:"LICENSE.md", [title: "License"]},
"README.md",
"guides/getting-started-with-sax.md"
],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
assets: "assets",
formatters: ["html"],
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
end