Skip to content

Commit 6342988

Browse files
joyeecheungmhdawson
authored andcommitted
build: clean up napi build in test-addons-clean
PR-URL: #13034 Ref: #13031 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rajaram Gaunker <[email protected]>
1 parent 5debcce commit 6342988

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -405,13 +405,18 @@ test-npm-publish: $(NODE_EXE)
405405
test-addons-napi: test-build-addons-napi
406406
$(PYTHON) tools/test.py --mode=release addons-napi
407407

408+
test-addons-napi-clean:
409+
$(RM) -r test/addons-napi/*/build
410+
$(RM) test/addons-napi/.buildstamp
411+
408412
test-addons: test-build test-addons-napi
409413
$(PYTHON) tools/test.py --mode=release addons
410414

411415
test-addons-clean:
412-
$(RM) -rf test/addons/??_*/
413-
$(RM) -rf test/addons/*/build
416+
$(RM) -r test/addons/??_*/
417+
$(RM) -r test/addons/*/build
414418
$(RM) test/addons/.buildstamp test/addons/.docbuildstamp
419+
$(MAKE) test-addons-napi-clean
415420

416421
test-timers:
417422
$(MAKE) --directory=tools faketime
@@ -977,6 +982,7 @@ endif
977982
test-addons \
978983
test-addons-clean \
979984
test-addons-napi \
985+
test-addons-napi-clean \
980986
test-all \
981987
test-ci \
982988
test-ci-js \

0 commit comments

Comments
 (0)