-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
49 lines (44 loc) · 1.19 KB
/
mix.exs
File metadata and controls
49 lines (44 loc) · 1.19 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
defmodule Excalars.MixProject do
use Mix.Project
def project do
[
app: :excalars,
version: "0.4.0",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ecto, "~> 3.12", optional: true},
{:postgrex, ">= 0.0.0", optional: true},
{:phoenix_html, "~> 4.2", optional: true},
{:ex_phone_number, "~> 0.4", optional: true},
{:ex_email, "~> 1.0", optional: true},
{:easyhtml, "~> 0.4", optional: true},
{:doctest_formatter, "~> 0.4", env: :dev, runtime: false},
{:mix_test_interactive, "~> 4.3", only: :dev, runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true}
]
end
defp aliases do
[
check: [
"deps.get --check-locked",
"format --check-formatted",
"deps.unlock --check-unused",
"compile --no-optional-deps --warnings-as-errors"
]
]
end
end