mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
Makefile: Express rebar3 profile using "as profile"
This allows to use REBAR_PROFILE to add another profile. Right now it doesn't seem specially useful, but it's possible: REBAR_PROFILE=dev make prod REBAR_PROFILE=translations make dev https://rebar3.org/docs/configuration/profiles/
This commit is contained in:
parent
3f07e232aa
commit
f40a036d97
@ -160,7 +160,7 @@ endif
|
|||||||
XREFOPTIONS=
|
XREFOPTIONS=
|
||||||
CLEANARG=--all
|
CLEANARG=--all
|
||||||
REBARREL=$(REBAR) as prod tar
|
REBARREL=$(REBAR) as prod tar
|
||||||
REBARDEV=REBAR_PROFILE=dev $(REBAR) release
|
REBARDEV=$(REBAR) as dev release
|
||||||
RELIVECMD=$(REBAR) relive
|
RELIVECMD=$(REBAR) relive
|
||||||
REL_LIB_DIR = _build/dev/rel/ejabberd/lib
|
REL_LIB_DIR = _build/dev/rel/ejabberd/lib
|
||||||
COPY_REL_TARGET = dev
|
COPY_REL_TARGET = dev
|
||||||
|
Loading…
Reference in New Issue
Block a user