/
mix.exs
62 lines (53 loc) · 1.3 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
61
62
defmodule Samlex.Mixfile do
use Mix.Project
@version "0.0.1"
def project do
[
app: :samlex,
version: @version,
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
# Hex
description: description,
package: package,
# Docs
name: "Samlex",
docs: [
source_ref: "v#{@version}", main: "Samlex",
canonical: "http://hexdocs.pm/samlex",
source_url: "https://github.com/ReaxDev/samlex"
]
]
end
def application do
[applications: [:logger],
mod: {Samlex, []}]
end
defp deps do
[
{:timex, "~> 2.1.6"},
{:ex_crypto, "~> 0.1.1", github: "ntrepid8/ex_crypto"},
{:sweet_xml, "~> 0.6.1"},
{:xml_builder, "~> 0.0.6"},
# Docs
{:ex_doc, "~> 0.10", only: :docs},
{:earmark, "~> 0.1", only: :docs},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp package do
[
maintainers: ["Sean Hill"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/ReaxDev/samlex"},
files: ~w(lib CHANGELOG.md LICENSE mix.exs README.md)
]
end
defp description do
"""
Samlex is a package for allowing Phoenix applications to be used as SAML2 Service Providers.
"""
end
end