forked from handnot2/samly
-
Notifications
You must be signed in to change notification settings - Fork 31
/
mix.exs
56 lines (50 loc) · 1.21 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
defmodule Samly.Mixfile do
use Mix.Project
@version "1.4.0"
@description "SAML Single-Sign-On Authentication for Plug/Phoenix Applications"
@source_url "https://github.com/dropbox/samly"
def project() do
[
app: :samly,
version: @version,
description: @description,
docs: docs(),
package: package(),
elixir: "~> 1.10",
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.6"},
{:esaml, "~> 4.3"},
{:sweet_xml, "~> 0.6"},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
defp docs() do
[
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url
]
end
defp package() do
[
maintainers: ["dropbox", "KMC"],
files: ["config", "lib", "LICENSE", "mix.exs", "README.md"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end