some fixes from dialyzer output
This commit is contained in:
committed by
Carlos Martín Nieto
parent
f943274ad8
commit
b2af788af0
9
mix.exs
9
mix.exs
@@ -113,7 +113,8 @@ defmodule Geef.Mixfile do
|
||||
[ app: :geef,
|
||||
version: "0.0.1",
|
||||
compilers: [:nif, :erlang, :elixir, :app],
|
||||
deps: deps ]
|
||||
deps: deps,
|
||||
dialyzer: dialyzer ]
|
||||
end
|
||||
|
||||
def nif do
|
||||
@@ -131,4 +132,10 @@ defmodule Geef.Mixfile do
|
||||
defp deps do
|
||||
[]
|
||||
end
|
||||
|
||||
def dialyzer do
|
||||
[ plt_apps: [:erts, :kernel, :stdlib, :mnesia],
|
||||
flags: ["-Wunmatched_returns","-Werror_handling","-Wrace_conditions", "-Wno_opaque"]]
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user