-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
70 lines (64 loc) Β· 1.74 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
defmodule Closex.Mixfile do
use Mix.Project
def project do
[
app: :closex,
version: "2.1.0",
build_path: "_build",
config_path: "config/config.exs",
deps_path: "deps",
lockfile: "mix.lock",
elixirc_paths: elixirc_paths(Mix.env()),
elixir: "~> 1.10",
description: description(),
package: package(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
start_permanent: Mix.env() == :prod
]
end
def application do
[mod: {Closex.Application, []}]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:jason, ">= 1.0.0"},
{:httpoison, ">= 0.0.0"},
{:exvcr, ">= 0.8.0", only: :test, optional: true},
{:ex_doc, ">= 0.0.0", only: :dev, optional: true},
{:excoveralls, ">= 0.4.0", only: :test, optional: true},
{:mix_test_watch, ">= 0.3.0", only: :dev, runtime: false, optional: true}
]
end
defp description() do
"Close.io HTTP client for Elixir"
end
defp package() do
[
files: ["lib", "mix.exs", "README.md"],
maintainers: [
"Sam Davies",
"Darren Oakley",
"Morgan Sadr-Hashemi",
"Adam Lancaster",
"Ed Saunders"
],
licenses: ["MIT"],
source_url: "https://github.com/nested-tech/closex",
homepage_url: "https://github.com/nested-tech/closex",
links: %{
"Nested" => "https://nested.com",
"Close.io" => "https://close.io",
"GitHub" => "https://github.com/nested-tech/closex"
}
]
end
end