-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
54 lines (46 loc) · 1.07 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
defmodule HPAX.MixProject do
use Mix.Project
@version "1.0.2"
@repo_url "https://github.com/elixir-mint/hpax"
def project do
[
app: :hpax,
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Tests
test_coverage: [tool: ExCoveralls],
# Hex
package: package(),
description: "Implementation of the HPACK protocol (RFC 7541) for Elixir",
# Docs
name: "HPAX",
docs: [
source_ref: "v#{@version}",
source_url: @repo_url
]
]
end
def application do
[
extra_applications: []
]
end
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev},
{:hpack, ">= 0.0.0", hex: :hpack_erl, only: :test},
{:stream_data, "~> 1.0", only: [:dev, :test]},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.18", only: :test},
{:castore, "~> 1.0", only: :test}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @repo_url}
]
end
end