When using rebar3, "make dialyzer" needs just a single call

pull/3554/head
Badlop 2 years ago
parent 69be0abdba
commit 3720b42b0f

@ -362,6 +362,10 @@ TAGS:
Makefile: Makefile.in
ifeq "$(IS_REBAR3)" "1"
dialyzer:
$(REBAR) dialyzer
else
deps := $(wildcard $(DEPSDIR)/*/ebin)
dialyzer/erlang.plt:
@ -400,6 +404,7 @@ dialyzer: erlang_plt deps_plt ejabberd_plt
@dialyzer --plts dialyzer/*.plt --no_check_plt \
--get_warnings -o dialyzer/error.log ebin; \
status=$$? ; if [ $$status -ne 2 ]; then exit $$status; else exit 0; fi
endif
test:
@echo "************************** NOTICE ***************************************"

Loading…
Cancel
Save