-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
51 lines (47 loc) · 1.19 KB
/
Copy pathmix.exs
File metadata and controls
51 lines (47 loc) · 1.19 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
defmodule Hyparview.MixProject do
use Mix.Project
def project do
[
app: :hyparview,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger],
mod: {Hyparview.Application, []}
]
end
defp deps do
[
{:node_monitor, "~> 0.1.0"},
# Code Quality
{:credo, "~> 1.1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.7", only: [:dev], runtime: false},
# Document
{:earmark, "~> 1.4.2", only: :doc, runtime: false},
{:ex_doc, "~> 0.21.1", only: :doc, runtime: false},
# Test
{:excoveralls, "~> 0.12", only: :test},
{:local_cluster, "~> 1.1", only: [:test]}
]
end
defp dialyzer do
[
plt_add_apps: [:ex_unit],
flags: [:error_handling, :underspecs, :unmatched_returns],
ignore_warnings: "dialyzer_ignore.exs"
]
end
end