aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-06 15:28:17 +0200
committerLoïc Hoguin <[email protected]>2015-10-06 15:29:04 +0200
commit73532c2f37cf2e71a3f7f60c44ca91489aec1637 (patch)
tree22af7603ea2846fb03fdac0e7fc1764938a96c11 /core
parent21fe6b0f86edb7925a41b2ac93c7e0a08cc3d1af (diff)
downloaderlang.mk-73532c2f37cf2e71a3f7f60c44ca91489aec1637.tar.gz
erlang.mk-73532c2f37cf2e71a3f7f60c44ca91489aec1637.tar.bz2
erlang.mk-73532c2f37cf2e71a3f7f60c44ca91489aec1637.zip
Load rebar before autopatching
Some rebar.config.script files use the vsn key available only after rebar is loaded.
Diffstat (limited to 'core')
-rw-r--r--core/deps.mk1
1 files changed, 1 insertions, 0 deletions
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;