From f21818ec32b2e6a6acc010861742b451ce6fae1d Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 26 Sep 2019 02:07:53 -0400 Subject: [PATCH] build: include deps/v8/test/torque in source tarball Builds from the source tarball were broken by the recent V8 upate to 7.7 as a file needed to build torque wasn't included in the source tarball as it resides in deps/v8/test. PR-URL: https://github.com/nodejs/node/pull/29712 Fixes: https://github.com/nodejs/node/issues/29709 Refs: https://github.com/nodejs/node/pull/28918 Reviewed-By: Ben Noordhuis Reviewed-By: Rod Vagg Reviewed-By: Beth Griggs --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 725f80659b5d1a..ede16565f66906 100644 --- a/Makefile +++ b/Makefile @@ -1037,7 +1037,6 @@ $(TARBALL): release-only $(NODE_EXE) doc $(RM) -r $(TARNAME)/deps/uv/samples $(RM) -r $(TARNAME)/deps/uv/test $(RM) -r $(TARNAME)/deps/v8/samples - $(RM) -r $(TARNAME)/deps/v8/test $(RM) -r $(TARNAME)/deps/v8/tools/profviz $(RM) -r $(TARNAME)/deps/v8/tools/run-tests.py $(RM) -r $(TARNAME)/deps/zlib/contrib # too big, unused @@ -1049,6 +1048,8 @@ $(TARBALL): release-only $(NODE_EXE) doc $(RM) -r $(TARNAME)/tools/node_modules $(RM) -r $(TARNAME)/tools/osx-* $(RM) -r $(TARNAME)/tools/osx-pkg.pmdoc + find $(TARNAME)/deps/v8/test/* -type d ! -regex '.*/test/torque$$' | xargs $(RM) -r + find $(TARNAME)/deps/v8/test -type f ! -regex '.*/test/torque/.*' | xargs $(RM) find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM) find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows tar -cf $(TARNAME).tar $(TARNAME)