-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
70 lines (64 loc) · 1.85 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
defmodule ProcessHub.MixProject do
use Mix.Project
def project do
[
app: :process_hub,
version: "0.3.0-alpha",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
name: "ProcessHub",
description: "Distributed processes manager and global process registry",
source_url: "https://github.com/alfetahe/process-hub",
package: [
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["GPL-3.0"],
links: %{
"GitHub" => "https://github.com/alfetahe/process-hub",
"Changelog" => "https://github.com/alfetahe/process-hub/blob/master/CHANGELOG.md"
}
],
aliases: aliases(),
docs: [
main: "readme",
extras: [
"README.md",
"guides/Introduction.md",
"guides/ProcessRegistry.md",
"guides/Architecture.md",
"guides/Configuration.md",
"guides/StateHandover.md",
"guides/ManualDistribution.md",
"guides/ReplicatingProcesses.md",
"guides/Hooks.cheatmd",
"guides/CustomStrategy.md"
],
authors: ["Anuar Alfetahe"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :runtime_tools]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:blockade, "~> 0.2.1"},
{:hash_ring, "~> 0.4.2"},
{:ex_doc, "~> 0.34.2", only: :dev, runtime: false},
{:benchee, "~> 1.2", only: [:dev, :test]}
]
end
defp aliases do
[docs: ["docs", ©_images/1]]
end
defp copy_images(_) do
File.cp_r("guides/assets", "doc/assets")
end
defp elixirc_paths(:prod), do: ["lib"]
defp elixirc_paths(_), do: ["lib", "test/helper"]
end