-
Notifications
You must be signed in to change notification settings - Fork 60
/
mix.exs
53 lines (48 loc) · 1.07 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
defmodule Scrivener.Mixfile do
use Mix.Project
def project do
[
app: :scrivener,
version: "2.7.2",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
description: "Pagination for the Elixir ecosystem",
deps: deps(),
dialyzer: [ignore_warnings: ".dialyzer_ignore.exs"],
docs: [
main: "readme",
extras: [
"README.md"
]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false}
]
end
defp package do
[
maintainers: ["Drew Olson"],
licenses: ["MIT"],
links: %{"github" => "https://github.com/drewolson/scrivener"},
files: [
"lib/scrivener.ex",
"lib/scrivener",
"mix.exs",
"README.md"
]
]
end
end