forked from lyokato/riverside
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
56 lines (52 loc) · 1.12 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
defmodule Riverside.Mixfile do
use Mix.Project
def project do
[
app: :riverside,
version: "2.2.0",
elixir: "~> 1.11",
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [
:cowboy,
:logger,
:msgpax,
:plug,
:poison,
:secure_random,
:elixir_uuid
]
]
end
defp deps do
[
{:cowboy, "~> 2.9"},
{:ex_doc, "~> 0.25", only: :dev, runtime: false},
{:msgpax, "~> 2.3"},
{:plug, "~> 1.12"},
{:plug_cowboy, "~> 2.5"},
{:poison, "~> 5.0"},
{:secure_random, "~> 0.5"},
{:socket, "~> 0.3"},
{:the_end, "~> 1.1"},
{:elixir_uuid, "~> 1.2"}
]
end
defp package() do
[
description: "A plain WebSocket server framework.",
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/lyokato/riverside",
"Docs" => "https://hexdocs.pm/riverside/Riverside.html"
},
maintainers: ["Lyo Kato"]
]
end
end