-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
61 lines (56 loc) · 1.51 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
51
52
53
54
55
56
57
58
59
60
61
defmodule ExTest.Mixfile do
use Mix.Project
def project do
[
app: :ex_test,
version: "2.0.0",
elixir: "~> 1.8.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
aliases: aliases()
]
end
def application do
[
mod: {ExTest, []},
applications: [
#:prometheus_ex,
:httpoison,
:cowboy,
:plug,
:postgrex,
#:kafka_consumer,
:gproc,
#:xandra,
:postgrex
]
]
end
defp aliases do
[
start: ["clean", "compile", "run --no-halt"]
]
end
defp deps do
[
{:credo, "~> 0.7", only: [:dev, :test]}, # linting
{:poison, "~> 3.1"}, # json parser
{:httpoison, "~> 0.11"}, # http client
#{:redix, "~> 0.5"}, # redis
{:redix_pubsub, "~> 0.2.0"}, # redis pubsub actions (ships with redix)
{:plug, "~> 1.3"}, # http server wrapper
{:plug_cowboy, "~> 1.0"}, # http server
{:bunt, "~> 0.2.0"}, # cli colors
# {:prometheus_ex, "~> 1.1.0"}, # metrics, broken in elixir 1.8
#{:kafka_ex, "~> 0.6.3"}, # kafka client
{:kafka_consumer, "~> 1.2.0"}, # easier kafka consumer (ships with kafka_ex & poolboy)
{:xandra, "~> 0.5.0"}, # cassandra driver
{:weave, "~> 1.0.0"}, # JIT config
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}, # static analysis
{:postgrex, "~> 0.13.2"}, #postgres driver
{:ecto, "~> 2.1.0"}, #db orm
{ :uuid, "~> 1.1" },
]
end
end