forked from lyokato/aws_ex_ray_plug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
46 lines (41 loc) · 1 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
defmodule AwsExRayPlug.MixProject do
use Mix.Project
def project do
[
app: :aws_ex_ray_plug,
version: "0.1.2",
elixir: "~> 1.6",
package: package(),
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
applications: [:logger, :plug, :aws_ex_ray]
]
end
defp deps do
[
{:aws_ex_ray, "~> 0.1.12"},
{:ex_doc, "~> 0.15", only: :dev, runtime: false},
{:struct_assert, "~> 0.5.2", only: :test},
{:mox, "~> 0.3.2", only: :test},
{:plug, "~> 1.5"}
]
end
defp package() do
[
description: "AWS X-Ray reporter Plug support",
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/lyokato/aws_ex_ray_plug",
"Docs" => "https://hexdocs.pm/aws_ex_ray_plug"
},
maintainers: ["Lyo Kato"]
]
end
end