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_asciidoc.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_asciidoc.mk')
-rw-r--r-- | test/plugin_asciidoc.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/plugin_asciidoc.mk b/test/plugin_asciidoc.mk index c2c4318..29dfd07 100644 --- a/test/plugin_asciidoc.mk +++ b/test/plugin_asciidoc.mk @@ -9,7 +9,7 @@ asciidoc: $(ASCIIDOC_TARGETS) # Disable the Asciidoc tests requiring the DocBook toolchain # when Asciidoc is not installed. The toolchain is too heavy for CI. ifneq ($(shell which a2x),) -asciidoc-build: build clean +asciidoc-build: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -72,7 +72,7 @@ asciidoc-build: build clean $i "Check that AsciiDoc errors out" $t ! $(MAKE) -C $(APP) asciidoc $v -asciidoc-docs: build clean +asciidoc-docs: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -93,7 +93,7 @@ asciidoc-docs: build clean $t test -f $(APP)/doc/guide.pdf $t test -d $(APP)/doc/html/ -asciidoc-guide: build clean +asciidoc-guide: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -122,7 +122,7 @@ asciidoc-guide: build clean $t test ! -e $(APP)/doc/man3/ endif -asciidoc-install: build clean +asciidoc-install: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -150,7 +150,7 @@ asciidoc-install: build clean $i "Check that the documentation was installed properly" $t test -f $(APP)/installed/share/man3/erlang_mk.3.gz -asciidoc-manual: build clean +asciidoc-manual: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ |