forked from getsentry/sentry-elixir
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
51 lines (46 loc) · 1.26 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
defmodule Sentry.Mixfile do
use Mix.Project
def project do
[
app: :sentry,
version: "7.1.0",
elixir: "~> 1.7",
description: "The Official Elixir client for Sentry",
package: package(),
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
dialyzer: [plt_add_deps: :transitive, plt_add_apps: [:mix]],
docs: [extras: ["README.md"], main: "readme"]
]
end
def application do
[
mod: {Sentry, []},
applications: [:hackney, :logger]
]
end
defp deps do
[
{:hackney, "~> 1.8 or 1.6.5"},
{:jason, "~> 1.1", optional: true},
{:plug, "~> 1.6", optional: true},
{:plug_cowboy, "~> 1.0 or ~> 2.0", optional: true},
{:phoenix, "~> 1.3", optional: true},
{:dialyxir, "> 0.0.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.20.0", only: :dev},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:bypass, "~> 1.0", only: [:test]}
]
end
defp package do
[
files: ["lib", "LICENSE", "mix.exs", "README.md"],
maintainers: ["Mitchell Henke", "Jason Stiebs"],
licenses: ["MIT"],
links: %{
"github" => "https://github.com/getsentry/sentry-elixir"
}
]
end
defp elixirc_paths(_), do: ["lib"]
end