-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
41 lines (37 loc) · 894 Bytes
/
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
defmodule ExWs.Mixfile do
use Mix.Project
def project do
[
app: :exws,
deps: deps(),
version: "0.0.3",
elixir: "~> 1.14",
elixirc_paths: paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
compilers: Mix.compilers,
description: "Elixir Websocket Server - Kitchen Sink Not Included",
package: [
licenses: ["MIT"],
links: %{
"https://github.com/karlseguin/exws" => "https://github.com/karlseguin/exws"
},
maintainers: ["Karl Seguin"]
]
]
end
defp paths(:ab), do: paths(:test)
defp paths(:test), do: paths(:prod) ++ ["test/support"]
defp paths(_), do: ["lib"]
def application do
[
extra_applications: [:crypto, :logger]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:jiffy, git: "https://github.com/karlseguin/jiffy", only: [:test, :ab]}
]
end
end