forked from getsentry/sentry-elixir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
52 lines (46 loc) · 1.23 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
defmodule Sentry.Mixfile do
use Mix.Project
def project do
[
app: :sentry,
version: "3.0.0",
elixir: "~> 1.3",
description: "The Official Elixir client for Sentry",
package: package(),
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env),
dialyzer: [plt_add_deps: :transitive],
docs: [extras: ["README.md"], main: "readme"]
]
end
def application do
[
mod: {Sentry, []},
applications: [:hackney, :uuid, :poison, :logger]
]
end
defp deps do
[
{:hackney, "~> 1.7.0"},
{:uuid, "~> 1.0"},
{:poison, "~> 1.5 or ~> 2.0 or ~> 3.0"},
{:plug, "~> 1.0", optional: true},
{:dialyxir, "> 0.0.0", only: :dev},
{:ex_doc, "~> 0.15.0", only: :dev},
{:credo, "~> 0.4", only: [:dev, :test]},
{:bypass, "~> 0.6.0", only: [:test]}
]
end
defp package do
[
files: ["lib", "LICENSE", "mix.exs", "README.md"],
maintainers: ["Stanislav Vishnevskiy", "Mitchell Henke", "Jason Stiebs"],
licenses: ["MIT"],
links: %{
"github" => "https://github.com/getsentry/sentry-elixir"
}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end