-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
51 lines (46 loc) · 1.12 KB
/
mix.exs
File metadata and controls
51 lines (46 loc) · 1.12 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
defmodule ReqWebSocket.MixProject do
use Mix.Project
@source_url "https://github.com/jswanner/req_web_socket"
@version "0.1.1"
def application do
[
extra_applications: [:logger]
]
end
def cli do
[preferred_envs: [docs: :docs, "hex.publish": :docs]]
end
defp deps do
[
{:bandit, "~> 1.7", only: :test},
{:ex_doc, ">= 0.0.0", only: :docs, runtime: false, warn_if_outdated: true},
{:mint_web_socket, "~> 1.0"},
{:req, "~> 0.5.0"},
{:websock_adapter, "~> 0.5.8", only: :test},
{:x509, "~> 0.9.0", only: :test}
]
end
def project do
[
app: :req_web_socket,
deps: deps(),
docs: [
source_url: @source_url,
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
],
elixir: "~> 1.14",
package: [
description: "Req plugin adding WebSocket support",
licenses: ["MIT"],
links: %{
"GitHub" => @source_url
}
],
source_url: @source_url,
start_permanent: Mix.env() == :prod,
version: @version
]
end
end