-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
45 lines (40 loc) · 848 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
38
39
40
41
42
43
44
45
defmodule Datacop.MixProject do
use Mix.Project
def project do
[
app: :datacop,
version: "0.1.4",
elixir: "~> 1.10",
description: description(),
package: package(),
docs: [extras: ["README.md": [title: "README"]]],
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
licenses: ["Apache 2"],
links: %{
GitHub: "https://github.com/prosapient/datacop"
}
]
end
defp description do
"""
An authorization library with dataloader and absinthe support.
"""
end
defp deps do
[
{:dataloader, "~> 1.0 or ~> 2.0"},
{:absinthe, "~> 1.6", optional: true},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
end