-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
37 lines (32 loc) · 916 Bytes
/
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
defmodule EctoCursor.MixProject do
use Mix.Project
def project, do: [
app: :ecto_cursor,
version: "0.1.5",
elixir: "~> 1.16",
deps: deps(),
description: description(),
package: package()
]
def application, do: [
extra_applications: [:logger]
]
defp deps, do: [
{:ecto, "~> 3.0"},
{:ecto_sql, "~> 3.0"},
{:postgrex, ">= 0.0.0", optional: true},
{:dialyxir, "~> 1.1.0", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
defp description(), do: """
A fully automatic cursor pagination for Ecto.
It relies on analysis of the expressions in order_by clause
and requires no configuration.
"""
defp package, do: [
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Ivan Yurov"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/youroff/ecto_cursor"}
]
end