Use local rebar3 only if there isn't one installed
This commit is contained in:
parent
a0b9ad0e5f
commit
28847aa896
2 changed files with 13 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -1,4 +1,11 @@
|
|||
REBAR_PATH = $(shell which rebar3)
|
||||
|
||||
ifeq ($(REBAR_PATH),)
|
||||
REBAR = $(shell pwd)/rebar3
|
||||
else
|
||||
REBAR = rebar3
|
||||
endif
|
||||
|
||||
|
||||
all: compile
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue