forked from peburrows/goth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
58 lines (51 loc) · 1.31 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 Goth.Mixfile do
use Mix.Project
@version "1.3.0-rc.3"
@source_url "https://github.com/peburrows/goth"
def project do
[
app: :goth,
version: @version,
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
elixir: "~> 1.10",
source_url: @source_url,
name: "Goth",
description: description(),
docs: [source_ref: "v#{@version}", main: "readme", extras: ["README.md"]],
deps: deps()
]
end
def application do
[
mod: {Goth.Application, []},
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:jose, "~> 1.10"},
{:jason, "~> 1.1"},
{:hackney, "~> 1.0", optional: true},
{:bypass, "~> 2.1", only: :test},
{:mix_test_watch, "~> 0.2", only: :dev},
{:ex_doc, "~> 0.19", only: :dev},
{:credo, "~> 0.8", only: [:test, :dev]},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}
]
end
defp description do
"""
A simple library to generate and retrieve Oauth2 tokens for use with Google Cloud Service accounts.
"""
end
defp package do
[
maintainers: ["Phil Burrows"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end