aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_shell.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/plugin_shell.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/plugin_shell.mk')
-rw-r--r--test/plugin_shell.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/plugin_shell.mk b/test/plugin_shell.mk
index 5a43678..06b973a 100644
--- a/test/plugin_shell.mk
+++ b/test/plugin_shell.mk
@@ -6,7 +6,7 @@ SHELL_TARGETS = $(call list_targets,shell)
shell: $(SHELL_TARGETS)
-shell-compile: build clean
+shell-compile: init
$i "Bootstrap a new OTP application named $(APP)"
$t mkdir $(APP)/
@@ -25,7 +25,7 @@ shell-compile: build clean
$t test -f $(APP)/ebin/$(APP)_app.beam
$t test -f $(APP)/ebin/$(APP)_sup.beam
-shell-default: build clean
+shell-default: init
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/
@@ -35,7 +35,7 @@ shell-default: build clean
$i "Run the shell"
$t $(MAKE) -C $(APP) shell SHELL_OPTS="-eval 'halt()'" $v
-shell-kjell: build clean
+shell-kjell: init
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/
@@ -48,7 +48,7 @@ shell-kjell: build clean
$i "Run the shell"
$t $(MAKE) -C $(APP) shell SHELL_OPTS="-eval 'halt()'" $v
-shell-test-dir: build clean
+shell-test-dir: init
$i "Bootstrap a new OTP library named $(APP)"
$t mkdir $(APP)/