Skip to content
Browse files

Add dialyzer targets to Makefile

  • Loading branch information...
1 parent 885b3e0 commit 5a08d16f1f0784b490630c64ab06d7ea42162dde @rzezeski rzezeski committed May 22, 2013
Showing with 13 additions and 0 deletions.
  1. +13 −0 Makefile
View
13 Makefile
@@ -65,3 +65,16 @@ pkgclean:
$(MAKE) -C package pkgclean
export BITCASK_TAG PKG_VERSION REPO REVISION
+
+APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
+ xmerl webtool snmp public_key mnesia eunit syntax_tools compiler
+PLT = $(HOME)/.bitcask_dialyzer_plt
+
+build_plt: deps compile
+ dialyzer --build_plt --output_plt $(PLT) --apps $(APPS) deps/*/ebin
+
+dialyzer: deps compile
+ dialyzer -Wno_return --plt $(PLT) ebin
+
+clean_plt:
+ rm $(PLT)

0 comments on commit 5a08d16

Please sign in to comment.
Something went wrong with that request. Please try again.