-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
77 lines (72 loc) · 1.77 KB
/
mix.exs
File metadata and controls
77 lines (72 loc) · 1.77 KB
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
defmodule Wumpex.MixProject do
@moduledoc false
use Mix.Project
def project do
[
app: :wumpex,
source_url: "https://github.com/dealloc/wumpex",
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
docs: [
groups_for_modules: [
Api: [
~r/Wumpex.Api/
],
Base: [
~r/Wumpex.Base/
],
Gateway: [
~r/Wumpex.Gateway/
],
Voice: [
~r/Wumpex.Voice/
],
Resources: [
~r/Wumpex.Resource/
],
Sharding: [
~r/Wumpex.Sharding/
]
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Wumpex.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.4", only: [:dev], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:socket, "~> 0.3", only: [:test]},
{:fake_server, "~> 2.1", only: [:test]},
{:httpoison, "~> 1.7"},
{:jason, "~> 1.2"},
{:poolboy, "~> 1.5"},
{:syn, "~> 2.1", optional: true},
{:gun, "~> 1.3"},
{:gen_stage, "~> 1.0"},
{:telemetry, "~> 0.4"},
{:manifold, "~> 1.4"},
{:kcl, "~> 1.3"},
# Both Gun and FakeServer require cowlib, so we have to override it to keep Mix happy.
{:cowlib, "~> 2.9.1", override: true}
]
end
# Mix aliases
defp aliases do
[
setup: ["deps.get", "dialyzer", "docs"],
analysis: ["dialyzer", "credo"]
]
end
end