diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2017-02-24 00:39:53 +0800 |
---|---|---|
committer | Myles Borins <myles.borins@gmail.com> | 2017-03-08 17:10:28 -0800 |
commit | edcca78f10319dfe47c880fa26593b96342ad819 (patch) | |
tree | ffecaab40ee15a267d67a87b61276ae40e0cbdcc /Makefile | |
parent | bfa39895841979f8e3bc3cdb0ca638f49931019e (diff) | |
download | node-new-edcca78f10319dfe47c880fa26593b96342ad819.tar.gz |
build: add rule to clean addon tests build
Add a `test-addons-clean` to the Makefile
to clean up files generated during testing addons.
PR-URL: https://github.com/nodejs/node/pull/11519
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -259,6 +259,11 @@ test-npm-publish: $(NODE_EXE) test-addons: test-build $(PYTHON) tools/test.py --mode=release addons +test-addons-clean: + $(RM) -rf test/addons/??_*/ + $(RM) -rf test/addons/*/build + $(RM) test/addons/.buildstamp test/addons/.docbuildstamp + test-timers: $(MAKE) --directory=tools faketime $(PYTHON) tools/test.py --mode=release timers @@ -766,9 +771,11 @@ endif .PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean \ check uninstall install install-includes install-bin all staticlib \ - dynamiclib test test-all test-addons build-addons website-upload pkg \ - blog blogclean tar binary release-only bench-http-simple bench-idle \ - bench-all bench bench-misc bench-array bench-buffer bench-net \ - bench-http bench-fs bench-tls cctest run-ci test-v8 test-v8-intl \ - test-v8-benchmarks test-v8-all v8 lint-ci bench-ci jslint-ci doc-only \ - $(TARBALL)-headers test-ci test-ci-native test-ci-js build-ci + dynamiclib test test-all test-addons test-addons-clean build-addons \ + website-upload pkg blog blogclean tar binary release-only \ + bench-http-simple bench-idle bench-all bench bench-misc bench-array \ + bench-buffer bench-net bench-http bench-fs bench-tls cctest run-ci \ + test-v8 test-v8-intl test-v8-benchmarks test-v8-all v8 lint-ci \ + bench-ci jslint-ci doc-only $(TARBALL)-headers test-ci test-ci-native \ + test-ci-js build-ci + |