aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4d94cc7..b7ee1e5 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,11 @@ endif
REBAR=$(shell which rebar)
+# If building on travis, use the rebar in the current directory
+ifeq ($(TRAVIS),true)
+REBAR=$(CURDIR)/rebar
+endif
+
ifeq ($(REBAR),)
REBAR=$(CURDIR)/rebar
endif