This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 3.x-backports-verbump in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 10997729c956fb5edfbdf243503380e48f3fe0bd Author: Juanjo Rodriguez <[email protected]> AuthorDate: Tue Mar 24 08:51:33 2020 +0100 allow to run 'javascript' target with other test targets in the same 'make' process --- Makefile | 4 +++- Makefile.win | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7d047cb..56d6d51 100644 --- a/Makefile +++ b/Makefile @@ -260,7 +260,9 @@ elixir-credo: elixir-init .PHONY: javascript # target: javascript - Run JavaScript test suites or specific ones defined by suites option javascript: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1 -javascript: devclean +javascript: + + @$(MAKE) devclean @mkdir -p share/www/script/test ifeq ($(IN_RELEASE), true) @cp test/javascript/tests/lorem*.txt share/www/script/test/ diff --git a/Makefile.win b/Makefile.win index 7030089..198c945 100644 --- a/Makefile.win +++ b/Makefile.win @@ -235,7 +235,8 @@ elixir-credo: elixir-init .PHONY: javascript # target: javascript - Run JavaScript test suites or specific ones defined by suites option javascript: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1 -javascript: devclean +javascript: + @$(MAKE) devclean -@mkdir share\www\script\test ifeq ($(IN_RELEASE), true) @copy test\javascript\tests\lorem*.txt share\www\script\test
