aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-01-09 21:53:21 +0100
committerLoïc Hoguin <[email protected]>2023-01-09 21:53:21 +0100
commit881886ef2e119a973f1a0a6a23ec1ee634fe0daf (patch)
tree326d5f6bec41a053d2319fe79b28659038b83960
parent32e4d2eb99ea9d008dfd1596d355ae25d4269f3f (diff)
downloadcowlib-881886ef2e119a973f1a0a6a23ec1ee634fe0daf.tar.gz
cowlib-881886ef2e119a973f1a0a6a23ec1ee634fe0daf.tar.bz2
cowlib-881886ef2e119a973f1a0a6a23ec1ee634fe0daf.zip
We must also rebuild the rebar used for autopatch
-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}'