forked from getsentry/sentry-elixir
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
65 lines (60 loc) · 1.68 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
defmodule Sentry.Mixfile do
use Mix.Project
@version "8.0.6"
@source_url "https://github.com/getsentry/sentry-elixir"
def project do
[
app: :sentry,
version: @version,
elixir: "~> 1.10",
description: "The Official Elixir client for Sentry",
package: package(),
deps: deps(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_core_path: "priv/plts",
plt_add_deps: :app_tree,
plt_add_apps: [:mix, :plug, :hackney]
],
docs: [
extras: ["README.md", "CHANGELOG.md"],
source_ref: "#{@version}",
source_url: @source_url,
main: "readme",
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
],
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: [:test, :dev], runtime: false},
{:ex_doc, "~> 0.29.0", only: :dev},
{:bypass, "~> 2.0", only: [:test]},
{:phoenix, "~> 1.5", only: [:test]},
{:phoenix_html, "~> 2.0", only: [:test]},
{:mox, "~> 1.0", only: [:test]}
]
end
defp package do
[
files: ["lib", "LICENSE", "mix.exs", "README.md", "CHANGELOG.md"],
maintainers: ["Mitchell Henke", "Jason Stiebs"],
licenses: ["MIT"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url
}
]
end
end