-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
79 lines (73 loc) · 1.88 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
defmodule AereplServer.MixProject do
use Mix.Project
def project do
[
app: :aerepl_web,
version: "5.0.1",
elixir: "~> 1.15",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
releases: [
app: [
include_executables_for: [:unix],
applications:
[runtime_tools: :permanent,
syntax_tools: :permanent,
goldrush: :permanent,
lager: :permanent,
gproc: :permanent,
setup: :permanent,
]
]
]
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {AereplServer.Application, []},
extra_applications: [:logger]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:phoenix, "~> 1.5.9"},
{:phoenix_pubsub, "~> 2.1.1"},
{:phoenix_html, "~> 3.2.0"},
{:phoenix_live_reload, "~> 1.3.3", only: :dev},
{:jason, "~> 1.3.0"},
{:plug_cowboy, "~> 2.5.2"},
{:credo, "~> 1.6.6", only: [:dev, :test]},
{:dogma, "~> 0.1", only: [:dev]},
{:telemetry, "~> 1.1.0"},
{:uuid, "~> 1.1"},
{:jobs, "~> 0.9"},
{:parse_trans, "~> 3.4.1", override: :true},
{:folsom, "~> 1.0.0"},
{:exometer_core, "~> 1.6.0"},
{:sext, "~> 1.8.0"},
{:goldrush, "~> 0.1.9"},
{:lager, "~> 3.9.2"},
{:gproc, "~> 0.9.0"},
{:json, "~> 1.4"},
{ :aerepl,
git: "https://github.com/aeternity/aerepl",
tag: "v3.3.2",
app: false,
compile: "make",
manager: :make,
}
]
end
defp aliases do
[]
end
end