-
Notifications
You must be signed in to change notification settings - Fork 133
/
mix.exs
83 lines (77 loc) · 1.74 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
defmodule AWS.Mixfile do
use Mix.Project
@version "1.0.4"
@repo_url "https://github.com/aws-beam/aws-elixir"
def project do
[
app: :aws,
version: @version,
name: "aws-elixir",
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
docs: docs(),
deps: deps(),
xref: [
exclude: [
:hackney,
Finch
]
]
]
end
def application do
[
extra_applications: [:logger, :crypto, :xmerl]
]
end
defp deps do
[
{:aws_signature, "~> 0.3"},
{:jason, "~> 1.2"},
{:dialyxir, "~> 1.1.0", only: [:dev], runtime: false},
{:earmark, "~> 1.4", only: [:dev]},
{:ex_doc, "~> 0.24", only: [:dev]},
{:bypass, "~> 2.1", only: [:test]},
{:finch, "~> 0.13", optional: true},
{:hackney, "~> 1.20", optional: true}
]
end
defp package do
[
description: "AWS clients for Elixir",
maintainers: ["Jamu Kakar"],
licenses: ["Apache-2.0"],
links: %{
"Changelog" => "https://hexdocs.pm/aws/changelog.html",
"GitHub" => @repo_url
}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [title: "Changelog"],
LICENSE: [title: "License"],
"README.md": [title: "Overview"]
],
main: "readme",
source_ref: "v#{@version}",
source_url: @repo_url,
homepage_url: @repo_url,
formatters: ["html"],
groups_for_modules: [
"Base modules": [
AWS,
AWS.Client,
AWS.HTTPClient,
AWS.HTTPClient.Finch,
AWS.HTTPClient.Hackney,
AWS.JSON,
AWS.XML
]
]
]
end
end