-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
45 lines (41 loc) · 1.04 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
defmodule Catena.MixProject do
use Mix.Project
def project do
[
app: :catena,
version: "1.0.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
build_embedded: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: [:mix]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Catena.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:bcrypt_elixir, "~> 1.0"},
{:catena_persistence, path: "./catena_persistence"},
{:comeonin, "~> 4.0"},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:elixir_uuid, "~> 1.2"}
]
end
defp aliases do
[
test: ["ecto.drop --quiet", "ecto.create --quiet", "ecto.migrate --quiet", "test"]
]
end
end