forked from fanatics-live/analytics-elixir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
54 lines (48 loc) · 1.16 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
defmodule AnalyticsElixir.Mixfile do
use Mix.Project
@source_url "https://github.com/stueccles/analytics-elixir"
@version "0.2.7"
def project do
[
app: :segment,
version: @version,
elixir: "~> 1.0",
deps: deps(),
description: "analytics_elixir",
dialyzer: [plt_add_deps: [:app_tree]],
package: package(),
docs: docs()
]
end
def application do
[applications: [:hackney, :logger, :retry, :tesla, :jason, :telemetry]]
end
defp deps do
[
{:dialyxir, "~> 1.0.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:hackney, "~> 1.15"},
{:jason, ">= 1.0.0"},
{:mox, "~> 0.5", only: :test},
{:retry, "~> 0.13"},
{:telemetry, "~> 0.4.2 or ~> 1.0"},
{:tesla, "~> 1.2"}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Stuart Eccles"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "Segment",
api_reference: false,
source_ref: "#{@version}",
source_url: @source_url
]
end
end