forked from handnot2/samly
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
60 lines (54 loc) · 1.31 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
54
55
56
57
58
59
60
defmodule Samly.Mixfile do
use Mix.Project
@version "1.0.0"
@description "SAML Single-Sign-On Authentication for Plug/Phoenix Applications"
@source_url "https://github.com/handnot2/samly"
@blog_url "https://handnot2.github.io/blog/auth/saml-auth-for-phoenix"
def project() do
[
app: :samly,
version: @version,
description: @description,
docs: docs(),
package: package(),
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application() do
[
extra_applications: [:logger, :eex]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps() do
[
{:plug, "~> 1.14"},
{:esaml, "~> 4.6"},
{:sweet_xml, "~> 0.7"},
{:ex_doc, "~> 0.26", only: :dev, runtime: false},
{:inch_ex, "~> 2.0", only: [:dev, :test]}
]
end
defp docs() do
[
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url
]
end
defp package() do
[
maintainers: ["handnot2"],
files: ["config", "lib", "LICENSE", "mix.exs", "README.md"],
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Blog" => @blog_url
}
]
end
end