-
Notifications
You must be signed in to change notification settings - Fork 6
/
mix.exs
66 lines (59 loc) · 1.4 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
defmodule ProcessTree.MixProject do
use Mix.Project
@version "0.2.0"
@github_page "https://github.com/jbsf2/process-tree"
def project do
[
app: :process_tree,
version: @version,
elixir: "~> 1.10",
elixirc_options: [warnings_as_errors: true],
elixirc_paths: ["lib", "test/support"],
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "ProcessTree",
description: "A module for avoiding global state in Elixir applications",
homepage_url: @github_page,
source_url: @github_page,
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:ex_doc, "~> 0.30.3", only: :dev, runtime: false}
]
end
defp docs() do
[
api_reference: false,
authors: ["JB Steadman"],
canonical: "http://hexdocs.pm/process_tree",
extras: [
"examples/environment-variable-example.md"
],
groups_for_extras: [
Examples: ["examples/environment-variable-example.md"]
],
main: "ProcessTree",
source_ref: "v#{@version}"
]
end
defp package do
[
files: ~w(mix.exs README.md lib),
licenses: ["MIT"],
links: %{
"GitHub" => @github_page
},
maintainers: ["JB Steadman"]
]
end
end