mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix 'make xref' when using Mix; notice it only checks Elixir files
This commit is contained in:
parent
45c7fbb5ae
commit
7a1e0d4720
@ -111,6 +111,7 @@ ifeq "$(REBAR_VER)" "6"
|
|||||||
GET_DEPS= deps.get
|
GET_DEPS= deps.get
|
||||||
CONFIGURE_DEPS=
|
CONFIGURE_DEPS=
|
||||||
EBINDIR=$(DEPSDIR)/ejabberd/ebin
|
EBINDIR=$(DEPSDIR)/ejabberd/ebin
|
||||||
|
XREFOPTIONS=graph
|
||||||
REBARREL=MIX_ENV=prod $(REBAR) release --overwrite
|
REBARREL=MIX_ENV=prod $(REBAR) release --overwrite
|
||||||
REBARDEV=MIX_ENV=dev $(REBAR) release --overwrite
|
REBARDEV=MIX_ENV=dev $(REBAR) release --overwrite
|
||||||
RELIVECMD=escript rel/relive.escript && MIX_ENV=dev RELIVE=true iex --name ejabberd@localhost -S mix run
|
RELIVECMD=escript rel/relive.escript && MIX_ENV=dev RELIVE=true iex --name ejabberd@localhost -S mix run
|
||||||
@ -129,6 +130,7 @@ endif
|
|||||||
GET_DEPS= get-deps
|
GET_DEPS= get-deps
|
||||||
CONFIGURE_DEPS=$(REBAR) configure-deps
|
CONFIGURE_DEPS=$(REBAR) configure-deps
|
||||||
EBINDIR=$(DEPSDIR)/ejabberd/ebin
|
EBINDIR=$(DEPSDIR)/ejabberd/ebin
|
||||||
|
XREFOPTIONS=
|
||||||
REBARREL=$(REBAR) as prod tar
|
REBARREL=$(REBAR) as prod tar
|
||||||
REBARDEV=REBAR_PROFILE=dev $(REBAR) release
|
REBARDEV=REBAR_PROFILE=dev $(REBAR) release
|
||||||
RELIVECMD=$(REBAR) relive
|
RELIVECMD=$(REBAR) relive
|
||||||
@ -142,6 +144,7 @@ else
|
|||||||
GET_DEPS= get-deps
|
GET_DEPS= get-deps
|
||||||
CONFIGURE_DEPS=$(REBAR) configure-deps
|
CONFIGURE_DEPS=$(REBAR) configure-deps
|
||||||
EBINDIR=ebin
|
EBINDIR=ebin
|
||||||
|
XREFOPTIONS=
|
||||||
REBARREL=$(REBAR) generate
|
REBARREL=$(REBAR) generate
|
||||||
REBARDEV=
|
REBARDEV=
|
||||||
RELIVECMD=@echo "Rebar2 detected... relive not supported.\
|
RELIVECMD=@echo "Rebar2 detected... relive not supported.\
|
||||||
@ -172,7 +175,7 @@ update:
|
|||||||
$(REBAR) $(UPDATEDEPS) && :> $(DEPSDIR)/.got
|
$(REBAR) $(UPDATEDEPS) && :> $(DEPSDIR)/.got
|
||||||
|
|
||||||
xref: all
|
xref: all
|
||||||
$(REBAR) $(SKIPDEPS) xref
|
$(REBAR) $(SKIPDEPS) xref $(XREFOPTIONS)
|
||||||
|
|
||||||
hooks: all
|
hooks: all
|
||||||
tools/hook_deps.sh $(EBINDIR)
|
tools/hook_deps.sh $(EBINDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user