forked from thalesmg/hallux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
112 lines (104 loc) · 3.16 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
100
101
102
103
104
105
106
107
108
109
110
111
112
defmodule Hallux.Mixfile do
use Mix.Project
@version "1.2.0"
def project do
[
app: :hallux,
name: "Hallux",
version: @version,
description: "Provides an implementation for Finger Trees in Elixir",
package: package(),
source_url: "https://github.com/thalesmg/hallux",
homepage_url: "https://github.com/thalesmg/hallux",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
test_paths: test_paths(Mix.env()),
dialyzer: [
plt_core_path: "priv/plts"
],
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[extra_applications: [:crypto]]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:stream_data, "~> 0.4", only: [:test, :test_dev]},
{:benchee, "~> 1.0", only: :dev},
{:credo, "~> 1.6", only: [:dev, :test_dev], runtime: false}
]
end
defp package() do
[
name: "hallux",
licenses: ["GNU GPLv3"],
maintainers: ["Thales Macedo Garitezi", "Diego Vinícius e Souza"],
links: %{github: "https://github.com/thalesmg/hallux"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:test_dev), do: ["lib", "test/support", "dev"]
defp elixirc_paths(_), do: ["lib"]
defp test_paths(:test), do: ["test"]
defp test_paths(:test_dev), do: ["test-dev"]
defp test_paths(_), do: []
defp docs() do
[
main: "readme",
source_ref: "v#{@version}",
extras: ["README.md"],
groups_for_modules: [
"Data Structures": [
Hallux.IntervalMap,
Hallux.OrderedMap,
Hallux.Seq
],
Protocols: [
Hallux.Protocol.Measured,
Hallux.Protocol.Monoid,
Hallux.Protocol.Reduce
],
Internal: [
Hallux.Internal.Digit,
Hallux.Internal.Digit.One,
Hallux.Internal.Digit.Two,
Hallux.Internal.Digit.Three,
Hallux.Internal.Digit.Four,
Hallux.Internal.Elem,
Hallux.Internal.FingerTree,
Hallux.Internal.FingerTree.Empty,
Hallux.Internal.FingerTree.Single,
Hallux.Internal.FingerTree.Deep,
Hallux.Internal.Interval,
Hallux.Internal.IntInterval,
Hallux.Internal.IntInterval.IntInterval,
Hallux.Internal.IntInterval.NoInterval,
Hallux.Internal.Node,
Hallux.Internal.Node.Node2,
Hallux.Internal.Node.Node3,
Hallux.Internal.OrderedHashBounds,
Hallux.Internal.OrderedHashBounds.MinOrder,
Hallux.Internal.OrderedHashBounds.Order,
Hallux.Internal.OrderedHashBounds.Value,
Hallux.Internal.Size,
Hallux.Internal.Split
]
],
nest_modules_by_prefix: [
Hallux.Internal,
Hallux.Internal.Digit,
Hallux.Internal.FingerTree,
Hallux.Internal.IntInterval,
Hallux.Internal.Node,
Hallux.Internal.OrderedHashBounds,
Hallux.Protocol
]
]
end
end