forked from opencensus-beam/opencensus_honeycomb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
81 lines (74 loc) · 2.07 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
defmodule Opencensus.Honeycomb.MixProject do
use Mix.Project
@description "Integration between OpenCensus and Honeycomb"
def project do
[
app: :opencensus_honeycomb,
deps: deps(),
description: @description,
dialyzer: dialyzer(),
docs: docs(),
elixir: "~> 1.5",
package: package(),
preferred_cli_env: [
coveralls: :test,
"coveralls.html": :test,
"coveralls.json": :test,
docs: :docs,
inch: :docs,
"inch.report": :docs,
"inchci.add": :docs
],
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.2.2"
]
end
def application() do
[
extra_applications: [:logger]
]
end
defp package() do
[
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/opencensus-beam/opencensus_honeycomb",
"OpenCensus" => "https://opencensus.io",
"OpenCensus Erlang" => "https://github.com/census-instrumentation/opencensus-erlang",
"OpenCensus BEAM" => "https://github.com/opencensus-beam"
}
]
end
defp deps() do
[
{:credo, "~> 1.2.2", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.7", only: :dev, runtime: false},
{:ex_doc, ">= 0.21.3", only: [:dev, :docs], runtime: false},
{:inch_ex, "~> 2.0.0", only: :docs, runtime: false},
{:excoveralls, "~> 0.12.2", only: [:dev, :test], runtime: false},
{:hackney, "~> 1.15"},
{:jason, "~> 1.1"},
{:licensir, "~> 0.6.0", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0.2", only: :dev, runtime: false},
{:opencensus, "~> 0.9.2"},
{:telemetry, "~> 0.4.0"}
]
end
defp dialyzer() do
[
# 'mix dialyzer --format dialyzer' to get lines you can paste into:
ignore_warnings: "dialyzer.ignore-warnings",
list_unused_filters: true
]
end
defp docs() do
[
main: "Opencensus.Honeycomb",
extras: [],
deps: [
opencensus: "https://hexdocs.pm/opencensus/"
]
]
end
end