-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
62 lines (53 loc) · 1.2 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
defmodule StatsDoggo.Mixfile do
use Mix.Project
@name :stats_doggo
@version "0.4.4"
@deps [
{:env_config, ">= 0.1.0"},
{:plug, ">= 1.3.0"},
{:statix, ">= 1.0.0"},
{:ex_doc, "~> 0.16", only: [ :dev, :test ]},
]
@description """
A good stats doggo.
* Uses Statix to send metrics to a StatsD host
* Uses ex_vmstats to gather VM metrics
* Provides a Plug to get web stats
"""
# ------------------------------------------------------------
def project do
in_production = Mix.env == :prod
[
app: @name,
version: @version,
elixir: ">= 1.3.0",
deps: @deps,
build_embedded: in_production,
package: package(),
description: @description,
start_permanent: in_production,
]
end
def application do
[
mod: { StatsDoggo.Application, [] },
extra_applications: [ :logger ],
]
end
defp package do
[
files: [
"lib", "mix.exs", "README.md"
],
maintainers: [
"Donald Plummer <donald.plummer@gmail.com>"
],
licenses: [
"Apache 2.0"
],
links: %{
"GitHub" => "https://github.com/avvo/stats_doggo",
}
]
end
end