-
Notifications
You must be signed in to change notification settings - Fork 122
/
mix.exs
61 lines (54 loc) · 1.31 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
defmodule PhoenixEcto.Mixfile do
use Mix.Project
@source_url "https://github.com/phoenixframework/phoenix_ecto"
@version "4.6.3"
def project do
[
app: :phoenix_ecto,
version: @version,
elixir: "~> 1.11",
deps: deps(),
# Hex
description: "Integration between Phoenix & Ecto",
package: package(),
# Docs
name: "Phoenix/Ecto",
docs: [
main: "main",
extras: ["README.md": [filename: "main", title: "Phoenix/Ecto"]],
source_ref: "v#{@version}",
source_url: @source_url
],
xref: [
exclude: [
{Ecto.Migrator, :migrations, 3},
{Ecto.Migrator, :migrations_path, 1},
{Ecto.Migrator, :run, 4}
]
]
]
end
def application do
[
mod: {Phoenix.Ecto, []},
extra_applications: [:logger],
env: [exclude_ecto_exceptions_from_plug: []]
]
end
defp package do
[
maintainers: ["José Valim", "Chris Mccord"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp deps do
[
{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.1", optional: true},
{:ecto, "~> 3.5"},
{:plug, "~> 1.9"},
{:postgrex, "~> 0.16 or ~> 1.0", optional: true},
{:ex_doc, ">= 0.0.0", only: :docs}
]
end
end