/
mix.exs
45 lines (40 loc) · 1.09 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
defmodule Metrist.Agent.MixProject do
use Mix.Project
def project do
[
app: :metrist_agent,
version: "0.1.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
build_embedded: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "Metrist Agent",
source_url: "https://github.com/Metrist-Software/elixir-agent"
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:hackney, "~> 1.18"},
{:jason, "~> 1.2"},
{:httpoison, "~> 1.8", only: [:test]},
{:ex_doc, "~> 0.14", only: :dev, runtime: false}
]
end
defp description do
"Metrist In-Process Agent for the BEAM ecosystem (Erlang, Elixir). This agent will forward timings of intercepted calls to the Metrist Monitoring Agent for further processing."
end
defp package do
[
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/Metrist-Software/elixir-agent"}
]
end
end