This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
mix.exs
87 lines (80 loc) · 1.94 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
81
82
83
84
85
86
87
defmodule JsonApiClient.Mixfile do
use Mix.Project
def project do
[
app: :json_api_client,
version: "1.2.0",
elixir: "~> 1.5",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
name: "JsonApiClient",
description: description(),
package: package(),
aliases: aliases(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"ci": :test,
"coveralls.html": :test,
"coveralls.post": :test,
"coveralls": :test,
],
deps: deps(),
docs: docs(),
source_url: "https://github.com/Decisiv/json_api_client",
]
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, "~> 0.8", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.7.2", only: [:dev, :test]},
{:ex_doc, "~>0.16.3", only: :dev},
{:httpoison, "~> 0.13.0"},
{:poison, "~> 3.1"},
{:mock, "~> 0.3.0", only: :test, runtime: false},
{:bypass, "~> 0.8", only: :test},
{:uuid, "~> 1.1", only: :test},
{:exjsx, "~> 4.0.0"},
{:uri_query, "~> 0.1.1"},
{:deep_merge, "~> 0.1.0"}
]
end
def docs do
[
main: "readme",
source_url: "https://github.com/Decisiv/json_api_client",
extras: ["README.md"],
]
end
defp package do
[
licenses: ["MIT"],
maintainers: [
"Chan Park",
"Cloves Carneiro",
"George Murphy",
"Michael Lagutko",
"Trevor Little",
],
links: %{
"Github" => "https://github.com/Decisiv/json_api_client"
}
]
end
defp description do
"""
Client package for accessing JSONApi services
"""
end
defp aliases do
[
"ci": ["compile", "credo --strict", "coveralls.html --raise"]
]
end
end