Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2019-08-12 13:14:43 +0300
committerRich Trott <rtrott@gmail.com>2019-08-17 02:23:33 +0300
commita890771cd0a31bda055fc71741ace7822bc678dd (patch)
tree95ea01fd6f36ff1e8c80dac772d1b44b0c8044b4 /Makefile
parent7195cd6fb30519271b09b437d0045d9cc8418a37 (diff)
build: add a testclean target
This commit adds a target named testclean to allow for cleaning the temporary files generated during a test run without having to use the clean target. PR-URL: https://github.com/nodejs/node/pull/29094 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b18facf08eb..d6c731c36dc 100644
--- a/Makefile
+++ b/Makefile
@@ -170,12 +170,16 @@ clean: ## Remove build artifacts.
$(RM) -r node_modules
@if [ -d deps/icu ]; then echo deleting deps/icu; $(RM) -r deps/icu; fi
$(RM) test.tap
- # Next one is legacy remove this at some point
- $(RM) -r test/tmp*
- $(RM) -r test/.tmp*
+ $(MAKE) testclean
$(MAKE) test-addons-clean
$(MAKE) bench-addons-clean
+.PHONY: testclean
+testclean:
+# Next one is legacy remove this at some point
+ $(RM) -r test/tmp*
+ $(RM) -r test/.tmp*
+
.PHONY: distclean
distclean:
$(RM) -r out