-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
62 lines (58 loc) · 1.62 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
defmodule Tablespoon.MixProject do
use Mix.Project
def project do
[
app: :tablespoon,
version: "0.1.0",
elixir: "~> 1.15-pre",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [
tool: LcovEx
],
dialyzer: [
plt_add_deps: :app_tree,
flags: [
:error_handling,
:missing_return,
:unmatched_returns
]
]
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {Tablespoon.Application, []},
extra_applications: [:logger, :runtime_tools, :snmp, :ssh, :xmerl]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:phoenix, "~> 1.7.0"},
{:phoenix_html, "~> 4.1.1"},
{:phoenix_view, "~> 2.0"},
{:bandit, "~> 1.0"},
{:jason, "~> 1.0"},
{:credo, "~> 1.1", only: [:dev, :test], runtime: false},
{:lcov_ex, "~> 0.2", only: [:dev, :test], runtime: false},
{:stream_data, "~> 1.1.0", only: [:test]},
{:dialyxir, "~> 1.4.0", only: [:dev, :test], runtime: false},
{:logster, "~> 1.0"},
{:ehmon, github: "mbta/ehmon", branch: "master", only: [:prod]},
{:fuse, "~> 2.5.0"},
{:tzdata, "~> 1.1"},
{:finch, "~> 0.16", only: :test}
]
end
end