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

We must also rebuild the rebar used for autopatch

Loïc Hoguin 2 лет назад
Родитель
Сommit
881886ef2e
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      Makefile

+ 5 - 4
Makefile

@@ -39,10 +39,6 @@ AUTO_CI_HIPE ?= OTP-LATEST
 # AUTO_CI_ERLLVM ?= OTP-LATEST
 AUTO_CI_WINDOWS ?= OTP-21+
 
-# Always rebuild from scratch in CI because OTP-25.0+ can't use the older build.
-
-ci-setup:: distclean
-
 # Hex configuration.
 
 define HEX_TARBALL_EXTRA_METADATA
@@ -60,6 +56,11 @@ endef
 
 include erlang.mk
 
+# Always rebuild from scratch in CI because OTP-25.0+ can't use the older build.
+
+ci-setup:: distclean-deps
+	-$(verbose) rm -rf $(ERLANG_MK_TMP)/rebar
+
 # Compile options.
 
 TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}' +'{parse_transform, horse_autoexport}'