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_edoc.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/plugin_edoc.mk') diff --git a/test/plugin_edoc.mk b/test/plugin_edoc.mk index 1ae11b1..1779797 100644 --- a/test/plugin_edoc.mk +++ b/test/plugin_edoc.mk @@ -6,7 +6,7 @@ EDOC_TARGETS = $(call list_targets,edoc) edoc: $(EDOC_TARGETS) -edoc-build: build clean +edoc-build: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -58,7 +58,7 @@ edoc-build: build clean $i "Check that EDoc errors out" $t ! $(MAKE) -C $(APP) edoc $v -edoc-docs: build clean +edoc-docs: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -81,7 +81,7 @@ edoc-docs: build clean $i "Check that the overview.edoc file was used" $t grep -q frobnicator $(APP)/doc/overview-summary.html -edoc-no-overview: build clean +edoc-no-overview: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -92,7 +92,7 @@ edoc-no-overview: build clean $t $(MAKE) -C $(APP) docs $v $t test ! -e $(APP)/doc/index.html -edoc-opts: build clean +edoc-opts: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -110,7 +110,7 @@ edoc-opts: build clean $t test -f $(APP)/doc/$(APP)_app.md $t test -f $(APP)/doc/$(APP)_sup.md -edoc-src-dirs: build clean +edoc-src-dirs: init $i "Create a multi application repository with a root application" $t mkdir $(APP)/ -- cgit v1.2.3