Added a Rake task for running dialyzer

This commit is contained in:
Phillip Toland 2009-03-03 12:17:44 -06:00
parent d6cc338707
commit f7b1b51872

View file

@ -21,3 +21,12 @@ task :package do
Dir.mkdir "#{target_dir}/priv/bin"
FileUtils.cp_r Dir.glob('c_src/system/bin/*'), "#{target_dir}/priv/bin", :verbose => false
end
task :dialyzer do
sh "dialyzer -Iinclude -c ebin/bdberl.beam\
-Werror_handling\
-Wunmatched_returns\
-Wunderspecs\
-Woverspecs\
-Wspecdiffs | tee dialyzer.log"
end