-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
mix.exs
52 lines (47 loc) · 1.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
47
48
49
50
51
52
defmodule Airbrakex.Mixfile do
use Mix.Project
def project do
[
app: :airbrakex,
version: "0.1.9",
elixir: "~> 1.0",
description: "Airbrake Elixir Notifier",
package: package(),
deps: deps(),
dialyzer: dialyzer(),
docs: [
main: Airbrakex,
source_url: "https://github.com/fazibear/airbrakex"
]
]
end
def package() do
[
maintainers: ["Michał Kalbarczyk"],
licenses: ["MIT"],
links: %{github: "https://github.com/fazibear/airbrakex"}
]
end
def application() do
[
applications: [:httpoison]
]
end
defp deps() do
[
{:httpoison, "~> 0.12 or ~> 1.0"},
{:jason, "~> 1.1"},
{:bypass, "~> 0.8", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev},
{:credo, "~> 1.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.4", only: :dev, runtime: false}
]
end
defp dialyzer do
[
plt_add_deps: :apps_direct,
plt_add_apps: [:hackney, :logger, :mix],
flags: [:error_handling, :race_conditions, :unmatched_returns]
]
end
end