From 0fc13a2c28571f57f51ad8e5c5b86d5147c8a7f7 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Mon, 15 May 2017 12:58:21 +0800 Subject: [PATCH] build: clean up napi build in test-addons-clean PR-URL: https://github.com/nodejs/node/pull/13034 Ref: https://github.com/nodejs/node/issues/13031 Reviewed-By: Daniel Bevenius Reviewed-By: Gibson Fahnestock Reviewed-By: Refael Ackermann Reviewed-By: Michael Dawson Reviewed-By: Rajaram Gaunker --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a97c85fa7144da..94e6ff455cca1c 100644 --- a/Makefile +++ b/Makefile @@ -405,13 +405,18 @@ test-npm-publish: $(NODE_EXE) test-addons-napi: test-build-addons-napi $(PYTHON) tools/test.py --mode=release addons-napi +test-addons-napi-clean: + $(RM) -r test/addons-napi/*/build + $(RM) test/addons-napi/.buildstamp + test-addons: test-build test-addons-napi $(PYTHON) tools/test.py --mode=release addons test-addons-clean: - $(RM) -rf test/addons/??_*/ - $(RM) -rf test/addons/*/build + $(RM) -r test/addons/??_*/ + $(RM) -r test/addons/*/build $(RM) test/addons/.buildstamp test/addons/.docbuildstamp + $(MAKE) test-addons-napi-clean test-timers: $(MAKE) --directory=tools faketime @@ -977,6 +982,7 @@ endif test-addons \ test-addons-clean \ test-addons-napi \ + test-addons-napi-clean \ test-all \ test-ci \ test-ci-js \