forked from fajarmf/ueberauth_linkedin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
43 lines (38 loc) · 1.07 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
defmodule UeberauthLinkedin.Mixfile do
use Mix.Project
@url "https://github.com/fajarmf/ueberauth_linkedin"
@description "An Ueberauth strategy for LinkedIn authentication"
def project do
[
app: :ueberauth_linkedin,
version: "0.3.3",
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
def application, do: [applications: [:logger, :oauth2, :ueberauth]]
defp docs, do: [extras: docs_extras(), main: "readme"]
defp docs_extras, do: ["README.md"]
defp deps,
do: [
{:ueberauth, "~> 0.6"},
{:oauth2, "~> 2.0"},
{:earmark, "~> 1.4.3", only: :dev},
{:ex_doc, "~> 0.21", only: :dev}
]
defp package,
do: [
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Fajar Firdaus"],
licenses: ["MIT"],
links: %{Github: @url}
]
end