summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2017-05-15 12:58:21 +0800
committerMichael Dawson <michael_dawson@ca.ibm.com>2017-05-17 11:07:39 -0400
commit6342988053652e8ea1e3cd52e36d02926c2dea44 (patch)
tree87cf7ef272fd0123e48d3c46807f3647f1e7edd3 /Makefile
parent5debcceafcdd73035d840f53deb931925691a3ab (diff)
downloadandroid-node-v8-6342988053652e8ea1e3cd52e36d02926c2dea44.tar.gz
android-node-v8-6342988053652e8ea1e3cd52e36d02926c2dea44.tar.bz2
android-node-v8-6342988053652e8ea1e3cd52e36d02926c2dea44.zip
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 <daniel.bevenius@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Rajaram Gaunker <rajarams@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a97c85fa71..94e6ff455c 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 \