-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
49 lines (41 loc) · 993 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
42
43
44
45
46
47
48
49
defmodule HaloSir.Mixfile do
use Mix.Project
def project do
[
app: :halosir,
version: "2019.8.0",
elixir: "~> 1.9",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
mod: {HaloSir.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
# Phoenix & co.
{:phoenix, "~> 1.4.0"},
{:plug_cowboy, "~> 2.0"},
{:jason, "~> 1.1"},
# HTTP Client
{:tesla, "~> 1.2"},
{:hackney, "~> 1.14"},
{:certifi, "~> 2.3"},
# Metrics
{:telemetry, "~> 0.2.0"},
# Release
{:distillery, "~> 2.0"},
# Lint & Test
{:credo, "~> 0.10", only: :dev},
{:bypass, "~> 1.0", only: [:dev, :test]}
]
end
end