-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
55 lines (51 loc) · 1.44 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
defmodule TransitData.MixProject do
use Mix.Project
def project do
[
app: :transit_data,
version: "0.1.0",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
dialyzer: [
plt_add_deps: :app_tree,
flags: [
:unmatched_returns
]
],
test_coverage: [tool: LcovEx]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:atomic_map, "~> 0.9.3"},
{:csv, "~> 3.2"},
{:ex_aws, "~> 2.5"},
{:ex_aws_s3, "~> 2.5"},
{:hackney, "~> 1.20"},
{:jaxon, "~> 2.0"},
{:kino, "~> 0.12.0"},
{:stream_gzip, "~> 0.4.2"},
{:sweet_xml, "~> 0.7.4"},
# TEST-ENV DEPS
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:lcov_ex, "~> 0.3", only: [:dev, :test], runtime: false},
{:mox, "~> 1.0", only: :test},
{:stream_data, "~> 1.0", only: :test},
# Provided by Mix.install invocation in the notebook.
# We only need to directly get this dep when running tests.
{:tz, "~> 0.26.5", only: [:test]}
]
end
end