forked from fajarmf/ueberauth_linkedin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
54 lines (46 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
defmodule UeberauthLinkedin.Mixfile do
use Mix.Project
@url "https://github.com/fajarmf/ueberauth_linkedin"
def project do
[app: :ueberauth_linkedin,
version: "0.3.2",
name: "Ueberauth LinkedIn Strategy",
elixir: "~> 1.2",
package: package(),
source_url: @url,
homepage_url: @url,
description: description(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
docs: docs()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :oauth2, :ueberauth]]
end
defp docs do
[extras: docs_extras(), main: "readme"]
end
defp docs_extras do
["README.md"]
end
defp description do
"An Ueberauth strategy for LinkedIn authentication"
end
defp deps do
[{:ueberauth, "~> 0.3"},
{:oauth2, "~> 0.8"},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev},
{:dogma, "~> 0.1", only: [:dev, :test]}]
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Fajar Firdaus"],
licenses: ["MIT"],
links: %{"Github": @url}]
end
end