-
Notifications
You must be signed in to change notification settings - Fork 14
/
mix.exs
68 lines (60 loc) · 1.46 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
64
65
66
67
68
defmodule Sitemapper.MixProject do
use Mix.Project
@version "0.9.0"
def project do
[
app: :sitemapper,
version: @version,
elixir: "~> 1.12",
deps: deps(),
name: "Sitemapper",
source_url: "https://github.com/breakroom/sitemapper",
description: "Stream based XML Sitemap generator",
package: package(),
docs: docs()
]
end
defp package do
[
licenses: ["MIT"],
maintainers: ["Tom Taylor"],
files: [
"lib",
"mix.exs",
"README.md",
".formatter.exs"
],
links: %{
"GitHub" => "https://github.com/breakroom/sitemapper",
"Changelog" => "https://github.com/breakroom/sitemapper/blob/main/CHANGELOG.md"
}
]
end
defp docs do
[
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl]
]
end
defp deps do
[
{:xml_builder, "~> 2.1"},
{:ex_aws_s3, "~> 2.0", optional: true},
{:google_api_storage, "~> 0.34", optional: true},
# Bench
{:fast_sitemap, "~> 0.1.0", only: :bench},
{:benchee, "~> 1.0", only: :bench},
{:benchee_html, "~> 1.0", only: :bench},
# Dev
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:credo, "~> 1.5", only: :dev, runtime: false},
{:ex_doc, "~> 0.28", only: :dev, runtime: false}
]
end
end