You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/11/19 18:21:15 UTC
[couchdb-local] 06/16: Update Makefile
This is an automated email from the ASF dual-hosted git repository.
davisp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-local.git
commit 1191c9973cf3e1e0b578036218b0767f34c8e4d5
Author: Takeru Ohta <ph...@gmail.com>
AuthorDate: Tue Oct 7 01:34:40 2014 +0900
Update Makefile
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 16142d2..3171909 100644
--- a/Makefile
+++ b/Makefile
@@ -32,11 +32,12 @@ edoc:
@./rebar -r doc skip_deps=true
start: compile
- @erl -pz ebin apps/*/ebin deps/*/ebin -eval 'erlang:display({start_app, $(APP), application:ensure_all_started($(APP))}).'
+ @erl -pz ebin -eval 'erlang:display({start_app, $(APP), application:ensure_all_started($(APP))}).'
.dialyzer.plt:
touch .dialyzer.plt
- dialyzer --build_plt --plt .dialyzer.plt --apps erts kernel stdlib crypto compiler
+ dialyzer --build_plt --plt .dialyzer.plt --apps erts \
+ $(shell erl -noshell -pa ebin -eval '{ok, _} = application:ensure_all_started($(APP)), lists:foreach(fun erlang:display/1, [Name || {Name, _, _} <- application:which_applications(), Name =/= $(APP)]), halt().')
dialyze: compile .dialyzer.plt
dialyzer --plt .dialyzer.plt -r ebin $(DIALYZER_OPTS)