-
-
Notifications
You must be signed in to change notification settings - Fork 195
/
Copy pathmix.exs
53 lines (49 loc) · 1.31 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
defmodule Sentry.Mixfile do
use Mix.Project
def project do
[
app: :sentry,
version: "8.0.2",
elixir: "~> 1.10",
description: "The Official Elixir client for Sentry",
package: package(),
deps: deps(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_deps: :app_tree,
plt_add_apps: [:mix, :plug, :hackney]
],
docs: [extras: ["README.md"], main: "readme"],
xref: [exclude: [:hackney, :hackney_pool, Plug.Conn]]
]
end
def application do
[
mod: {Sentry, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:hackney, "~> 1.8", optional: true},
{:jason, "~> 1.1", optional: true},
{:plug, "~> 1.6", optional: true},
{:plug_cowboy, "~> 2.3", optional: true},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.22.0", only: :dev},
{:bypass, "~> 1.0", only: [:test]},
{:phoenix, "~> 1.5", only: [:test]},
{:phoenix_html, "~> 2.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
end