-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
44 lines (37 loc) · 963 Bytes
/
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
defmodule MonHandler.Mixfile do
use Mix.Project
def project do
[app: :mon_handler,
version: "1.0.3",
elixir: "~> 1.0",
deps: deps(),
description: description(),
package: package()]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:mock, "~> 0.1.1", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"""
A minimal GenServer that monitors a given GenEvent handler.
This server will handle exits of the Handler and attempt to re-add it
to the manager when unexpected exits occur.
Exits for :normal, :shutdown or :swapped reasons will not attempt a re-add to
the manager.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Rodney Norris"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/tattdcodemonkey/mon_handler"}
]
end
end