-
Notifications
You must be signed in to change notification settings - Fork 13
/
mix.exs
99 lines (94 loc) · 2.04 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
defmodule Coxir.MixProject do
use Mix.Project
def project do
[
app: :coxir,
version: "2.0.0",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package(),
source_url: "https://github.com/satom99/coxir"
]
end
def application do
[
mod: {Coxir, []}
]
end
defp deps do
[
{:ecto, ">= 3.0.0"},
{:jason, ">= 1.0.0"},
{:idna, ">= 6.0.0"},
{:castore, ">= 0.1.0"},
{:gun, ">= 1.3.0"},
{:tesla, ">= 1.3.0"},
{:gen_stage, ">= 0.14.0"},
{:kcl, ">= 1.0.0"},
{:porcelain, ">= 2.0.3"},
{:ex_doc, "~> 0.24.2", only: :dev}
]
end
defp docs do
[
groups_for_modules: [
Entities: [
Coxir.User,
Coxir.Channel,
Coxir.Guild,
Coxir.Invite,
Coxir.Overwrite,
Coxir.Webhook,
~r/^Coxir.Message.?/,
Coxir.Emoji,
Coxir.Reaction,
~r/^Coxir.Interaction.?/,
Coxir.Integration,
Coxir.Role,
Coxir.Ban,
Coxir.Member,
~r/^Coxir.Presence.?/,
Coxir.VoiceState
],
Gateway: [
~r/^Coxir.Gateway.?/,
~r/^Coxir.Payload.?/
],
Voice: [
~r/^Coxir.Voice.?/
],
Adapters: [
~r/^Coxir.Limiter.?/,
~r/^Coxir.Storage.?/,
~r/^Coxir.Sharder.?/,
~r/^Coxir.Player.?/
],
Model: [
~r/^Coxir.Model.?/
],
API: [
~r/^Coxir.API.?/
],
Other: ~r/(.*?)/
],
extra_section: "GUIDES",
extras: [
"guides/introduction.md",
"guides/quickstart.md",
"guides/configuration.md",
"guides/multiple-clients.md",
"guides/entities.md"
],
main: "introduction",
source_ref: "main"
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/satom99/coxir"}
]
end
end