From a3cd50792d0ed1c5dfee66ff79ee7117057e9970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 7 Dec 2018 19:40:02 +0100 Subject: 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. --- test/plugin_shell.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/plugin_shell.mk') 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)/ -- cgit v1.2.3