-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
48 lines (43 loc) · 1.18 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
defmodule Chatter.Mixfile do
use Mix.Project
def project do
[
app: :chatter,
version: "0.0.15",
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description,
package: package,
deps: deps
]
end
def application do
[applications: [:logger, :xxhash, :ranch],
mod: {Chatter, []}]
end
defp deps do
[
{:snappy, "~> 1.1"},
{:xxhash, git: "https://github.com/pierresforge/erlang-xxhash"},
{:exactor, "~> 2.2"},
{:ranch, "~> 1.2"}
]
end
defp description do
"""
Chatter is extracted from the ScaleSmall project as a standalone piece.
This may be used independently to broadcast messages to a set of nodes.
It uses a mixture of UDP multicast and TCP to deliver messages and tries
to minimize network traffic while doing so.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["David Beck"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/dbeck/chatter_ex/",
"Docs" => "https://github.com/dbeck/chatter_ex/tree/master/docs"}]
end
end