From 73532c2f37cf2e71a3f7f60c44ca91489aec1637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 6 Oct 2015 15:28:17 +0200 Subject: Load rebar before autopatching Some rebar.config.script files use the vsn key available only after rebar is loaded. --- core/deps.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'core/deps.mk') diff --git a/core/deps.mk b/core/deps.mk index 18ae0f8..8c5da9c 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -151,6 +151,7 @@ define dep_autopatch_rebar endef define dep_autopatch_rebar.erl + application:load(rebar), application:set_env(rebar, log_level, debug), Conf1 = case file:consult("$(call core_native_path,$(DEPS_DIR)/$1/rebar.config)") of {ok, Conf0} -> Conf0; -- cgit v1.2.3