forked from spandex-project/spandex_datadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
69 lines (61 loc) · 1.41 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
defmodule SpandexDatadog.MixProject do
use Mix.Project
@version "0.5.0"
def project do
[
app: :spandex_datadog,
description: description(),
version: @version,
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
docs: docs(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls.circle": :test,
coveralls: :test
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
name: :spandex_datadog,
maintainers: ["Zachary Daniel", "Greg Mefford"],
licenses: ["MIT License"],
links: %{"GitHub" => "https://github.com/spandex-project/spandex_datadog"}
]
end
defp description do
"""
A datadog API adapter for spandex.
"""
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp docs do
[
main: "readme",
extras: [
"README.md"
]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:excoveralls, "~> 0.10", only: :test},
{:git_ops, "~> 0.3.4", only: [:dev]},
{:inch_ex, github: "rrrene/inch_ex", only: [:dev, :test]},
{:spandex, "~> 2.3"},
{:httpoison, "~> 0.13", only: :test},
{:msgpax, "~> 2.2.1"}
]
end
end