-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
72 lines (67 loc) · 1.85 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
defmodule DoAuth.MixProject do
use Mix.Project
def project do
[
app: :do_auth,
version: "0.5.3-pre",
description:
"Fast, lean and reliable authentication server based on verifiable credentials standard",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
package: package(),
propcheck: [counter_examples: "counter_examples"],
# dev
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
remove_defaults: [:unknown]
]
]
end
defp aliases do
[
# test: "test --no-start"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {DoAuth.Otp.Application, [:standalone]}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:cors_plug, "~> 2.0"},
{:dialyxir, "~> 1.1", only: :dev, runtime: false},
{:propcheck, "~> 1.4.1", only: [:test, :dev], runtime: true},
{:jason, "~> 1.3"},
{:enacl, "~> 1.2.1"},
{:dyn_hacks, "~> 0.1.0"},
{:uptight, "~> 0.2.6-rc"},
{:persist, "~> 0.2.0-rc"},
{:doma, "~> 1.0.0"},
{:doma_witchcraft, "~> 1.0.6-doma"},
{:doma_algae, "~> 1.3.2-doma"},
{:doma_quark, "~> 2.3.3-doma"},
{:plug_cowboy, "~> 2.0"},
{:bamboo_smtp, "~> 4.1"}
]
end
defp package do
[
licenses: ["WTFPL"],
links: %{
"GitHub" => "https://github.com/doma-engineering/do-auth",
"Support" => "https://social.doma.dev/@jonn",
"Matrix" => "https://matrix.to/#/#uptight:matrix.org"
},
maintainers: ["doma.dev"]
]
end
end