-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
58 lines (53 loc) · 1.39 KB
/
mix.exs
File metadata and controls
58 lines (53 loc) · 1.39 KB
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
defmodule ReverseProxyPlugWebsocket.MixProject do
use Mix.Project
def project do
[
app: :reverse_proxy_plug_websocket,
description: "Support reverse proxying of websocket connections natively in Elixir",
version: "0.2.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.json": :test
],
aliases: aliases()
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl]
]
end
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:plug, "~> 1.14"},
{:gun, "~> 2.0", optional: true},
{:websockex, "~> 0.4.3", optional: true},
{:websock_adapter, "~> 0.5"},
{:websock, "~> 0.5"},
{:ex_doc, "~> 0.30.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.18", only: :test}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/mwhitworth/reverse_proxy_plug_websocket"}
]
end
defp aliases do
[
coverage: ["coveralls"],
"coverage.html": ["coveralls.html"],
"coverage.detail": ["coveralls.detail"]
]
end
end