some fixes from dialyzer output

This commit is contained in:
Ramon Snir
2015-04-13 19:15:49 +03:00
committed by Carlos Martín Nieto
parent f943274ad8
commit b2af788af0
6 changed files with 15 additions and 9 deletions

View File

@@ -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