-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
86 lines (77 loc) · 1.68 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
defmodule Freddie.MixProject do
use Mix.Project
def project do
[
app: :freddie,
version: "0.1.5",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :exprotobuf, :crypto]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poolboy, "~> 1.5"},
{:gen_stage, "~> 0.14.1"},
{:exprotobuf, "~> 1.2.9"},
{:exprof, "~> 0.2.0"},
{:timex, "~> 3.0"},
{:enum_type, "~> 1.0.1"},
{:redix, ">= 0.0.0"},
{:ex_doc, "~> 0.19.3", only: :dev, runtime: false}
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", "config/config.exs"],
maintainers: ["kernelgarden"],
licenses: ["MIT"],
links: %{github: "https://github.com/kernelgarden/freddie"}
]
end
defp description do
"""
Socket framework for elixir.
"""
end
defp docs do
[
main: "getting-started",
formatters: ["html", "epub"],
groups_for_modules: groups_for_modules(),
extra_section: "GUIDES",
extras: extras(),
groups_for_extras: groups_for_extras()
]
end
defp extras do
[
"guides/Getting Started.md"
]
end
defp groups_for_modules do
[
Utils: [
Freddie.Utils,
Freddie.Utils.Binary,
Freddie.Utils.Eprof,
Freddie.Utils.Fprof
]
]
end
defp groups_for_extras do
[
Guides: ~r/guides\/[^\/]+\.md/
]
end
end