-
Notifications
You must be signed in to change notification settings - Fork 29
/
mix.exs
54 lines (48 loc) · 1.18 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
defmodule EctoPSQLExtras.Mixfile do
use Mix.Project
@github_url "https://github.com/pawurb/ecto_psql_extras"
@version "0.8.2"
def project do
[
app: :ecto_psql_extras,
version: @version,
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
description: description(),
deps: deps(),
package: package(),
docs: docs()
]
end
def deps do
[
{:table_rex, "~> 3.1.1 or ~> 4.0.0"},
{:ecto_sql, "~> 3.7"},
{:postgrex, "> 0.16.0 and < 0.20.0"},
{:ex_doc, ">= 0.30.0", only: :dev, runtime: false},
{:mock, "~> 0.3.0", only: :test}
]
end
defp description do
"""
Ecto PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
"""
end
defp package do
[
maintainers: ["Pawel Urbanek"],
licenses: ["MIT"],
links: %{"GitHub" => @github_url}
]
end
defp docs do
[
main: "readme",
source_url: @github_url,
extras: ["README.md"]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end