aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2fe339b..d562e5a 100644
--- a/Makefile
+++ b/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}'