-
Notifications
You must be signed in to change notification settings - Fork 11
/
mix.exs
47 lines (43 loc) · 1.21 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
defmodule WebSockAdapter.MixProject do
use Mix.Project
def project do
[
app: :websock_adapter,
version: "0.5.8",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
name: "WebSockAdapter",
description: "A set of WebSock adapters for common web servers",
source_url: "https://github.com/phoenixframework/websock_adapter",
package: [
files: ["lib", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
maintainers: ["Mat Trudel"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/phoenixframework/websock_adapter"}
]
]
end
def application do
[]
end
defp deps do
[
{:websock, "~> 0.5"},
{:plug, "~> 1.14"},
{:bandit, ">= 0.6.0", optional: true},
{:plug_cowboy, "~> 2.6", optional: true},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
defp dialyzer do
[
plt_add_apps: [:cowboy],
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
end
end