-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
55 lines (50 loc) · 1.38 KB
/
mix.exs
File metadata and controls
55 lines (50 loc) · 1.38 KB
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
defmodule Assistant.MixProject do
use Mix.Project
def project do
[
app: :assistant,
version: "0.1.0",
elixir: "~> 1.17",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Assistant.Application, []}
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp dialyzer do
[
plt_add_apps: [:iex, :mix]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:dialyxir, "~> 1.4", only: [:dev], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:mox, "~> 1.2", only: [:test]},
{:telegex, "~> 1.9.0-rc.0"},
{:finch, "~> 0.19.0"},
{:multipart, "~> 0.4.0"},
{:plug, "~> 1.16"},
{:remote_ip, "~> 1.2"},
{:bandit, "~> 1.5"},
{:typed_struct, "~> 0.3.0"},
{:gettext, "~> 0.26.1"},
{:quantum, "~> 3.5.3"},
{:jason, "~> 1.4.4"},
{:phoenix_pubsub, "~> 2.1.3"}
]
end
end