Просмотр исходного кода

Load rebar before autopatching

Some rebar.config.script files use the vsn key available
only after rebar is loaded.
Loïc Hoguin 9 лет назад
Родитель
Сommit
73532c2f37
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      core/deps.mk

+ 1 - 0
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;