Skip to content

Commit

Permalink
Use local rebar3 only if there isn't one installed
Browse files Browse the repository at this point in the history
  • Loading branch information
choptastic committed Aug 21, 2019
1 parent a0b9ad0 commit 28847aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -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 changes: 7 additions & 0 deletions Makefile
@@ -1,4 +1,11 @@
REBAR_PATH = $(shell which rebar3)

ifeq ($(REBAR_PATH),)
REBAR = $(shell pwd)/rebar3
else
REBAR = rebar3
endif


all: compile

Expand Down

0 comments on commit 28847aa

Please sign in to comment.