diff options
author | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
commit | a3cd50792d0ed1c5dfee66ff79ee7117057e9970 (patch) | |
tree | 79c76f50159c7d63fc313628b8b0715831537b42 /test/plugin_edoc.mk | |
parent | 1fb70e0d435e5058c558f89d223a0f6ba3bd5342 (diff) | |
download | erlang.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_edoc.mk')
-rw-r--r-- | test/plugin_edoc.mk | 10 |
1 files changed, 5 insertions, 5 deletions
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)/ |