-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
56 lines (51 loc) · 1.41 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
defmodule IsItUp.Mixfile do
use Mix.Project
def project do
[
app: :is_it_up,
version: "0.1.0",
elixir: "~> 1.8",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
applications(Mix.env())
end
def applications(:test) do
[
applications: [:confex, :logger, :httpoison, :timex, :cowboy, :plug]
]
end
def applications(_) do
[
applications: [:confex, :prometheus_ex, :cowboy, :httpoison, :timex],
mod: {IsItUp.App, []}
# extra_applications: [:confex]
]
end
# Type "mix help deps" for more examples and options
defp deps do
[
{:confex, "~> 3.4.0"},
{:distillery, "~> 2.1.1"},
{:ex_bench, "~> 0.2.10"},
# {:ex_bench, git: "https://github.com/bryanhuntesl/ex_bench.git", branch: "branch-0.2.5", runtime: false},
#{:ex_bench, path: "/code/bryanhuntesl/ex_bench"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:httpoison, "~> 1.5.1"},
{:libcluster, "~> 3.1"},
{:plug_cowboy, "~> 2.1.0"},
{:prometheus_ex, "~> 3.0"},
{:prometheus_plugs, "~> 1.1.5"},
{:prometheus_process_collector, "~> 1.4"},
{:rexbug, "~> 1.0"},
# {:telemetry, "~> 0.4.0"},
{:timex, "~> 3.6"},
]
end
end