-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
45 lines (40 loc) · 946 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
45
defmodule ExometerZabbix.Mixfile do
use Mix.Project
@version "1.0.1"
@url "https://github.com/tverlaan/exometer_zabbix"
def project do
[
app: :exometer_zabbix,
version: @version,
elixir: "~> 1.8",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: "A Zabbix reporter backend for exometer_core",
package: package(),
docs: docs(),
deps: deps()
]
end
defp deps do
[
{:exometer_core, "~> 1.5"},
{:jason, "~> 1.0", runtime: false},
{:earmark, "~> 1.2", only: :dev, runtime: false},
{:ex_doc, "~> 0.16", only: :dev, runtime: false}
]
end
defp docs() do
[
main: "Exometer.Report.Zabbix",
source_ref: "v#{@version}",
source_url: @url
]
end
defp package do
[
maintainers: ["Timmo Verlaan"],
licenses: ["MIT"],
links: %{"GitHub" => @url}
]
end
end