forked from schrockwell/bodyguard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
49 lines (43 loc) · 960 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
46
47
48
49
defmodule Bodyguard.Mixfile do
use Mix.Project
def project do
[
app: :bodyguard,
version: "2.4.0",
elixir: "~> 1.3",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
# Docs
name: "Bodyguard",
docs: [
extras: ["README.md"],
main: "readme"
]
]
end
def application do
[env: [default_error: :unauthorized]]
end
defp deps do
[{:plug, "~> 1.0"}, {:ex_doc, "~> 0.21", only: :dev}]
end
defp description do
"""
Bodyguard is a simple, flexibile authorization library with a focus
on Phoenix 1.3+ apps.
"""
end
defp package do
[
name: :bodyguard,
maintainers: ["Rockwell Schrock", "Ben Cates"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/schrockwell/bodyguard"
}
]
end
end