-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
55 lines (51 loc) · 1.46 KB
/
mix.exs
File metadata and controls
55 lines (51 loc) · 1.46 KB
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
defmodule EctoCursorPagination.Mixfile do
use Mix.Project
def project do
[
app: :ecto_cursor_pagination,
build_embedded: Mix.env == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: true,
plt_file: ".local.plt"
],
description: "Ecto Library for cursor pagination.",
docs: [extras: ["README.md"]],
elixir: "~> 1.3",
homepage_url: "https://github.com/bleacherreport/ecto_cursor_pagination",
name: "Ecto Cursor Pagination",
package: package(),
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
source_url: "https://github.com/bleacherreport/ecto_cursor_pagination",
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.1.1"
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:credo, "~> 0.6", only: [:dev]},
{:dialyxir, "~> 0.4", only: [:dev]},
{:earmark, "~> 1.1", only: [:dev]},
{:ecto, "~> 2.1"},
{:ex_doc, "~> 0.14", only: [:dev]},
{:excoveralls, "~> 0.6", only: [:test]}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/bleacherreport/ecto_cursor_pagination"},
maintainers: ["John Kelly"]
]
end
end