-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
69 lines (62 loc) · 1.48 KB
/
mix.exs
File metadata and controls
69 lines (62 loc) · 1.48 KB
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
66
67
68
69
defmodule TaskBunnyRollbar.Mixfile do
use Mix.Project
@version "0.2.2"
@description "TaskBunny job failure backend that reports the error to Rollbar"
def project do
[
app: :task_bunny_rollbar,
version: @version,
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/shinyscorpion/task_bunny_rollbar"
],
description: @description,
package: package()
]
end
def application do
[
extra_applications: [:rollbax]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:rollbax, "~> 0.11"},
{:task_bunny, "~> 0.2"},
# dev
{:ex_doc, "~> 0.14", only: :dev},
{:inch_ex, "~> 0.5", only: :dev}
]
end
defp package do
[
name: :task_bunny_rollbar,
files: [
# Project files
"mix.exs",
"README.md",
"LICENSE.md",
"lib"
],
maintainers: [
"Elliott Hilaire",
"Francesco Grammatico",
"Ian Luites",
"Kenneth Lee",
"Ricardo Perez",
"Tatsuya Ono"
],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/shinyscorpion/task_bunny_rollbar"}
]
end
end