forked from flexibility-org/ok_then
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
62 lines (56 loc) · 1.43 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
defmodule OkThen.MixProject do
use Mix.Project
def project do
[
app: :ok_then,
version: "1.1.0",
description: description(),
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: []
]
end
defp description() do
"The Swiss Army Knife for tagged tuple pipelines"
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}
]
end
defp docs() do
[
groups_for_functions: [
Guards: &(&1[:section] == :guards),
"Functions (:ok)": &(&1[:section] == :ok_functions),
"Functions (:error)": &(&1[:section] == :error_functions),
"Functions (:none)": &(&1[:section] == :none_functions),
"Functions (any tag)": &(&1[:section] == :generic_functions)
],
extras: [
"README.md"
],
main: "readme"
]
end
defp package() do
[
licenses: ["ISC"],
links: %{
"GitHub" => "https://github.com/flexibility-org/ok_then",
"Changelog" => "https://github.com/flexibility-org/ok_then/blob/main/CHANGELOG.md",
"Elixir Forum" => "https://elixirforum.com/t/39983"
}
]
end
end