aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-10-23 15:41:04 +0200
committerLoïc Hoguin <[email protected]>2018-10-23 15:41:04 +0200
commit4d0ae7e8c646d00eb868fdee11756b1770a3b976 (patch)
treedf48ac906b84385960649fcf7f02dc14feb4a8fc
parentd2720842a63dc7bc6ac01d9e2866bfa78cb39aa5 (diff)
downloadranch-4d0ae7e8c646d00eb868fdee11756b1770a3b976.tar.gz
ranch-4d0ae7e8c646d00eb868fdee11756b1770a3b976.tar.bz2
ranch-4d0ae7e8c646d00eb868fdee11756b1770a3b976.zip
Always recompile ct_helper in CI
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e86a454..f40691a 100644
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,12 @@ TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}'
DIALYZER_OPTS += --src -r test
-# Use erl_make_certs from the tested release during CI.
+# Use erl_make_certs from the tested release during CI
+# and ensure that ct_helper is always recompiled.
#
# Note that erl_make_certs was removed from OTP-20.1. For now
# we are fine using the most recent version from OTP-20.
ci-setup:: $(DEPS_DIR)/ct_helper
$(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/ || true
+ $(gen_verbose) $(MAKE) -C $(DEPS_DIR)/ct_helper clean app