-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
46 lines (42 loc) · 1.14 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
defmodule WebSock.MixProject do
use Mix.Project
def project do
[
app: :websock,
version: "0.5.3",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
name: "WebSock",
description: "A specification for WebSocket connections",
source_url: "https://github.com/phoenixframework/websock",
package: [
files: ["lib", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
maintainers: ["Mat Trudel"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/phoenixframework/websock"}
],
docs: [
extras: [
"README.md": [title: "README"],
"CHANGELOG.md": [title: "Changelog"]
],
main: "readme"
]
]
end
def application do
[]
end
defp deps do
[
{: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_core_path: "priv/plts", plt_file: {:no_warn, "priv/plts/dialyzer.plt"}]
end
end