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
12
.travis.yml
12
.travis.yml
|
@ -5,10 +5,10 @@ otp_release:
|
|||
- 21.2
|
||||
- 21.0
|
||||
- 20.0
|
||||
- 19.0
|
||||
- 18.0
|
||||
- 17.4
|
||||
- 17.0
|
||||
- R16B
|
||||
- R15B03
|
||||
# - 19.0
|
||||
# - 18.0
|
||||
# - 17.4
|
||||
# - 17.0
|
||||
# - R16B
|
||||
# - R15B03
|
||||
before_script: "sudo apt-get --yes --force-yes install libpam-runtime python-software-properties software-properties-common"
|
||||
|
|
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