-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmix.exs
More file actions
53 lines (47 loc) · 1.3 KB
/
Copy pathmix.exs
File metadata and controls
53 lines (47 loc) · 1.3 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
Code.compiler_options(parser_options: [columns: true, token_metadata: true])
defmodule AL.MixProject do
use Mix.Project
def project do
[
app: :al,
version: "0.4.2",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer()
]
end
defp dialyzer do
[
plt_add_apps: [:mnesia, :mix, :ex_unit],
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
flags: [:no_opaque]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_env), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :inets, :ssl],
included_applications: [:mnesia],
mod: {AL.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:typed_struct, "~> 0.3.0"},
{:ex_example, "~> 0.1.2"},
{:gt_bridge, "~> 0.20.1", override: true},
{:file_system, "~> 1.0"},
{:jason, "~> 1.4"},
{:plug_cowboy, "~> 2.7"},
{:benchee, "~> 1.5", only: :dev},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
end