forked from dwyl/elixir-auth-google
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
58 lines (51 loc) · 1.35 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
defmodule ElixirAuthGoogle.MixProject do
use Mix.Project
@description "Minimalist Google OAuth Authentication for Elixir Apps"
@version "1.6.3"
def project do
[
app: :elixir_auth_google,
version: @version,
elixir: ">= 1.11.0",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: @description,
package: package(),
# coverage
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.json": :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
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:httpoison, "~> 1.8.0"},
{:jason, "~> 1.2"},
# tracking test coverage
{:excoveralls, "~> 0.14.1", only: [:test, :dev]},
# mock stuffs in test
{:mock, "~> 0.3.0", only: :test},
# documentation
{:ex_doc, "~> 0.25.3", only: :dev}
]
end
defp package do
[
maintainers: ["dwyl"],
licenses: ["GNU GPL v2.0"],
links: %{github: "https://github.com/dwyl/elixir-auth-google"},
files: ~w(lib LICENSE mix.exs README.md .formatter.exs)
]
end
end