forked from artemeff/ouroboros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
50 lines (43 loc) · 1.04 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
defmodule Ouroboros.MixProject do
use Mix.Project
def project do
[
app: :ouroboros,
version: "0.1.3",
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
description: description(),
package: package(),
]
end
def application do
[
extra_applications: []
]
end
defp elixirc_paths(e) when e in [:dev, :test], do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ecto, "~> 3.2"},
{:ecto_sql, ">= 0.0.0", only: [:dev, :test]},
{:postgrex, ">= 0.0.0", only: [:dev, :test]},
{:ex_machina, "~> 2.3", only: [:dev, :test]},
{:ex_doc, ">= 0.0.0", only: [:dev], runtime: false}
]
end
defp description do
"Cursor based pagination for Ecto"
end
defp package do
[
name: :ouroboros,
maintainers: ["Yuri Artemev"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/artemeff/ouroboros"}
]
end
end