-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
61 lines (56 loc) · 1.38 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
defmodule Unsplash.Mixfile do
use Mix.Project
def project do
[
app: :unsplash,
version: "1.2.0",
elixir: "~> 1.6",
description: "Unsplash API for Elixir",
source_url: "https://github.com/waynehoover/unsplash-elixir",
homepage_url: "https://github.com/waynehoover/unsplash-elixir",
package: package(),
deps: deps(),
docs: docs(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
def application do
[
applications: [:logger, :httpoison, :oauth2],
mod: {Unsplash, []}
]
end
defp deps do
[
{:httpoison, "~> 1.6.2"},
{:jason, "~> 1.1"},
{:oauth2, "~> 2.0.0"},
{:earmark, "~> 1.4.2", only: :dev},
{:ex_doc, "~> 0.21.2", only: :dev, runtime: false},
{:exvcr, "~> 0.11.0", only: [:test, :dev]},
{:credo, "~> 1.1.5", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.12.0", only: :test}
]
end
defp docs do
[
extras: ["README.md"]
]
end
defp package do
[
maintainers: ["waynehoover"],
licenses: ["MIT"],
links: %{
"github" => "https://github.com/waynehoover/unsplash-elixir",
"docs" => "http://hexdocs.pm/unsplash/"
}
]
end
end