-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
78 lines (71 loc) · 1.74 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
73
74
75
76
77
78
defmodule Outbox.MixProject do
use Mix.Project
def project do
[
app: :outbox,
version: "0.0.1",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
name: "Outbox",
package: package(),
source_url: "https://github.com/jsolana/outbox",
docs: docs()
]
end
defp description() do
"Outbox pattern support for Elixir"
end
defp package() do
%{
licenses: ["Apache-2.0"],
maintainers: ["Javier Solana"],
links: %{"GitHub" => "https://github.com/jsolana/outbox"}
}
end
defp docs() do
[
# The main page in the docs
main: "readme",
logo: "guides/logo.png",
extras: ["README.md"],
before_closing_body_tag: fn
:html ->
"""
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad: true})</script>
"""
_ ->
""
end
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Observability
{:telemetry, "~> 1.2"},
# Encoding / Decoding
{:jason, "~> 1.4"},
# Persistence
{:ecto, "~> 3.10.3"},
{:ecto_sql, "~> 3.10.2"},
# Event processing
{:gen_stage, "~> 1.2"},
# Doc
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
# Testing
{:mox, "~> 1.0", only: :test},
# Code analysis
{:dialyxir, "~> 1.3", only: [:dev], runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false}
]
end
end