-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
57 lines (52 loc) · 1.26 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
defmodule Ankh.Mixfile do
use Mix.Project
def project do
[
app: :ankh,
version: "0.17.0",
elixir: "~> 1.12",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: "Pure Elixir HTTP/2 implementation",
package: package(),
deps: deps(),
docs: docs(),
dialyzer: [
plt_add_deps: :apps_direct,
ignore_warnings: ".dialyzer.ignore-warnings"
]
]
end
defp package do
[
maintainers: ["Luca Corti"],
licenses: ["MIT"],
links: %{GitHub: "https://github.com/lucacorti/ankh"}
]
end
def application do
[
extra_applications: [:crypto, :inets, :logger, :ssl]
]
end
defp deps do
[
{:castore, "~> 1.0"},
{:hpax, "~> 1.0"},
{:plug, "~> 1.0"},
{:credo, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.34.0", only: [:dev], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false}
]
end
defp docs do
[
groups_for_modules: [
HTTP1: [~r/^Ankh\.Protocol\.HTTP1\.*/],
HTTP2: [~r/^Ankh\.Protocol\.HTTP2\.*/],
Internals: [~r/^Ankh\.Protocol$/, ~r/^Ankh\.Transport$/],
Transports: [~r/Ankh\.Transport\.*/]
]
]
end
end