-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
54 lines (49 loc) · 1.36 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
defmodule OauthAzureActivedirectory.Mixfile do
use Mix.Project
def project do
[
app: :oauth_azure_activedirectory,
version: "1.2.0",
elixir: "~> 1.9",
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
description: description(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.circle": :test, "coveralls.html": :test]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:oauth2, "~> 2.0"},
{:json, "~> 1.0"},
{:secure_random, "~> 0.5"},
{:ex_doc, "~> 0.19", only: :dev},
{:mock, "~> 0.3.0", only: :test},
{:excoveralls, "~> 0.10", only: :test},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false}
]
end
# Package description
defp description do
"""
Omniauth authentication for Azure Active Directory using JWT.
"""
end
# Package information
defp package do
[
files: ["lib", "priv", "mix.exs", "README.md", "LICENSE*"],
maintainers: ["Onur Kucukkece"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/onurkucukkece/oauth_azure_activedirectory"}
]
end
end