forked from ueberauth/ueberauth_vk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
executable file
·80 lines (66 loc) · 1.64 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
defmodule UeberauthVK.Mixfile do
use Mix.Project
@version "0.2.6"
@url "https://github.com/sobolevn/ueberauth_vk"
def project do
[
app: :ueberauth_vk,
version: @version,
name: "Ueberauth VK Strategy",
package: package(),
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
source_url: @url,
homepage_url: @url,
description: description(),
deps: deps(),
# Docs
name: "ueberauth_vk",
docs: docs(),
# Test coverage:
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
],
]
end
def application do
[applications: [:logger, :oauth2, :ueberauth]]
end
defp deps do
[
# Auth:
{:ueberauth, "~> 0.2"},
{:oauth2, "~> 0.8.0"},
# Tests:
{:exvcr, "~> 0.8.4", only: :test},
{:excoveralls, "~> 0.6", only: :test},
{:poison, "~> 3.0", only: :test}, # is needed for tests
# Docs:
{:ex_doc, "~> 0.14", only: :dev},
# Lint:
{:credo, "~> 0.6", only: [:dev, :test]},
]
end
defp docs do
# Docs
[source_ref: "v#{@version}",
main: "README",
canonical: "http://hexdocs.pm/ueberauth_vk",
source_url: @url,
extras: ["README.md"]]
end
defp description do
"An Uberauth strategy for VK authentication."
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
maintainers: ["Sobolev Nikita"],
licenses: ["MIT"],
links: %{"GitHub": @url}]
end
end