diff options
author | Juanjo Rodriguez <juanjo@apache.org> | 2020-03-24 08:51:33 +0100 |
---|---|---|
committer | Joan Touzet <wohali@apache.org> | 2020-04-30 09:06:28 -0700 |
commit | 74a91eced272d0208d794dbd688ec4fbfc84e8e2 (patch) | |
tree | 08c324a5745de455763088584a2437954d880f7d | |
parent | ded9f128a2bd4f4f917b612eef2a6fda86f3231f (diff) | |
download | couchdb-74a91eced272d0208d794dbd688ec4fbfc84e8e2.tar.gz |
allow to run 'javascript' target with other test targets in the same 'make' process
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | Makefile.win | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -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 70300893d..198c94586 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 |