-
Notifications
You must be signed in to change notification settings - Fork 9
/
mix.exs
50 lines (46 loc) · 1.12 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
48
49
50
defmodule Redex.MixProject do
use Mix.Project
def project do
[
app: :redex,
version: "0.5.0",
elixir: "~> 1.9",
elixirc_paths: if(Mix.env() == :test, do: ["lib", "test/support"], else: ["lib"]),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps()
]
end
def application do
[
extra_applications: [:logger, :mnesia],
mod: {Redex.Application, []}
]
end
defp aliases do
[
test: "test --no-start"
]
end
defp deps do
[
{:injector, "~> 0.2"},
{:manifold, "~> 1.2"},
{:ranch, "~> 1.7"},
{:libcluster, "~> 3.1"},
{:nimble_parsec, "~> 0.5.0"},
{:singleton_supervisor, "~> 0.1"},
{:mox, "~> 0.5", only: :test},
{:excoveralls, "~> 0.11.1", only: :test},
{:dialyxir, "~> 1.0.0-rc.6", only: :dev, runtime: false},
{:stream_data, "~> 0.4", only: [:dev, :test]}
]
end
end