forked from stueccles/analytics-elixir
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
71 lines (63 loc) · 1.63 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
defmodule AnalyticsElixir.Mixfile do
use Mix.Project
@version "2.0.0"
@source_url "https://github.com/FindHotel/analytics-elixir"
def project do
[
app: :segment,
deps: deps(),
description: "analytics_elixir",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
name: "analytics_elixir",
package: package(),
version: @version
]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type `mix help deps` for more examples and options
defp deps do
[
{:decimal, "~> 2.0"},
{:meta_logger, "~> 1.4"},
{:miss, "~> 0.1"},
{:poison, "~> 5.0"},
{:tesla, "~> 1.5"},
{:typed_struct, "~> 0.2", runtime: false},
{:uuid, "~> 1.1"},
# Dev
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
# Static analysis
{:dialyxir, "~> 1.1", only: :dev, runtime: false}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_environment), do: ["lib"]
defp package do
# These are the default files included in the package
[
files: ["lib", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
maintainers: [
"Antonio Lorusso",
"Felipe Vieira",
"Fernando Hamasaki de Amorim",
"Sergio Rodrigues"
]
]
end
end