-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
56 lines (50 loc) · 1.31 KB
/
mix.exs
File metadata and controls
56 lines (50 loc) · 1.31 KB
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
defmodule Analytics.MixProject do
use Mix.Project
def project do
[
app: :analytics,
package: package(),
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
source_url: "https://github.com/OnceApp/Analytics",
elixirc_paths: elixirc_paths(Mix.env())
]
end
defp description() do
"Send analytics to Kinesis efficiently"
end
defp package() do
[
name: "analytics",
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
links: %{"Github" => "https://github.com/OnceApp/Analytics"},
licenses: ["MIT"]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Analytics.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_aws, "~> 2.0"},
{:ex_aws_kinesis, "~> 2.0"},
{:hackney, "~> 1.9"},
{:sweet_xml, "~> 0.6"},
{:configparser_ex, "~> 2.0"},
{:gen_stage, "~> 0.14"},
{:earmark, "~> 1.2", only: :dev},
{:ex_doc, "~> 0.19.3", only: :dev},
{:decimal, "~> 1.0"}
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
end