summaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs12
1 files changed, 10 insertions, 2 deletions
diff --git a/mix.exs b/mix.exs
index e0cffe4..defc400 100644
--- a/mix.exs
+++ b/mix.exs
@@ -17,7 +17,13 @@ defmodule MatrixAppService.MixProject do
aliases: aliases(),
deps: deps(),
docs: [main: "MatrixAppService"],
- test_coverage: test_coverage(System.get_env("CI"))
+ test_coverage: test_coverage(System.get_env("CI")),
+
+ # elixirc_options: [warnings_as_errors: true],
+ dialyzer: [
+ plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
+ ignore_warnings: ".dialyzer_ignore.exs"
+ ]
]
end
@@ -65,7 +71,9 @@ defmodule MatrixAppService.MixProject do
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:junit_formatter, "~> 3.1", only: :test},
{:cobertura_cover, "~> 0.9.0", only: :test},
- {:postgrex, ">= 0.0.0", only: :test}
+ {:postgrex, ">= 0.0.0", only: :test},
+ {:credo, "~> 1.4.1", only: [:dev, :test], runtime: false},
+ {:dialyxir, "~> 1.0.0", only: [:dev, :test], runtime: false}
]
end