-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
63 lines (57 loc) · 1.56 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
defmodule PoolexPromEx.MixProject do
use Mix.Project
def project do
[
app: :poolex_prom_ex,
deps: deps(),
description: "PromEx integration for Poolex",
docs: docs(),
elixir: "~> 1.12",
elixirc_options: [
warnings_as_errors: true
],
package: package(),
source_url: "https://github.com/general-CbIC/poolex_prom_ex",
start_permanent: Mix.env() == :prod,
version: "1.0.0"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:plug, "~> 1.16"},
{:poolex, "~> 1.0"},
{:prom_ex, "~> 1.0"},
# Development deps
{:credo, ">= 0.0.0", only: [:dev], runtime: false},
{:dialyxir, ">= 0.0.0", only: [:dev], runtime: false},
{:doctor, ">= 0.0.0", only: [:dev], runtime: false},
{:ex_check, "~> 0.16.0", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: [:dev], runtime: false},
{:makeup_diff, ">= 0.0.0", only: [:dev], runtime: false},
{:styler, "~> 1.1", only: [:dev], runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"Changelog" => "https://github.com/general-CbIC/poolex_prom_ex/blob/develop/CHANGELOG.md",
"GitHub" => "https://github.com/general-CbIC/poolex_prom_ex",
"Sponsor" => "https://github.com/sponsors/general-CbIC"
}
]
end
defp docs do
[
main: "readme",
extras: [
"README.md"
]
]
end
end