-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
63 lines (55 loc) · 1.49 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
63
defmodule HoneylixirTracing.MixProject do
use Mix.Project
@source_url "https://github.com/lirossarvet/honeylixir_tracing"
@version "0.4.0"
def project do
[
app: :honeylixir_tracing,
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
description: description(),
elixirc_paths: compiler_paths(Mix.env()),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {HoneylixirTracing.Application, []},
extra_applications: [:logger],
included_application: [:honeylixir]
]
end
defp deps do
[
{:honeylixir, "~> 0.6"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, ">= 0.0.0", only: :dev, runtime: false},
{:plug, ">= 1.9.0", optional: true},
# this is pulled in by honeylixir technically, but it seems good to declare
# it here since we use it for some integrations.
{:telemetry, ">= 0.4.0", optional: true}
]
end
defp docs() do
[
main: HoneylixirTracing,
source_url: @source_url,
extras: ["CHANGELOG.md", "INTEGRATIONS.md"]
]
end
defp description() do
"Library providing tracing capabilities in Elixir for Honeycomb"
end
defp compiler_paths(_), do: ["lib"]
defp package() do
[
name: "honeylixir_tracing",
licenses: ["Apache-2.0"],
links: %{"Github" => @source_url}
]
end
end