aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_misc.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-12-07 19:40:02 +0100
committerLoïc Hoguin <[email protected]>2018-12-07 19:40:02 +0100
commita3cd50792d0ed1c5dfee66ff79ee7117057e9970 (patch)
tree79c76f50159c7d63fc313628b8b0715831537b42 /test/core_misc.mk
parent1fb70e0d435e5058c558f89d223a0f6ba3bd5342 (diff)
downloaderlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.gz
erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.bz2
erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.zip
Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT
And use this in the tests to fetch Rebar only once and then clone from the local repository. This should speed up tests a little.
Diffstat (limited to 'test/core_misc.mk')
-rw-r--r--test/core_misc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core_misc.mk b/test/core_misc.mk
index 0d838ac..9b7aa92 100644
--- a/test/core_misc.mk
+++ b/test/core_misc.mk
@@ -8,7 +8,7 @@ CORE_MISC_TARGETS = $(filter-out core-misc,$(call list_targets,core))
core-misc: $(CORE_MISC_TARGETS)
-core-clean-crash-dump: build clean
+core-clean-crash-dump: init
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/
@@ -24,7 +24,7 @@ core-clean-crash-dump: build clean
$i "Check that the crash dump is removed"
$t test ! -e $(APP)/erl_crash.dump
-core-distclean-tmp: build clean
+core-distclean-tmp: init
$i "Bootstrap a new OTP application named $(APP)"
$t mkdir $(APP)/
@@ -40,7 +40,7 @@ core-distclean-tmp: build clean
$i "Check that .erlang.mk directory got removed"
$t test ! -e $(APP)/.erlang.mk
-core-help: build clean
+core-help: init
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/