mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: fix zlib tarball generation
PR-URL: https://github.com/nodejs/node/pull/32094 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
committed by
Myles Borins
parent
75466869fb
commit
2130474890
2
Makefile
2
Makefile
@@ -1032,7 +1032,6 @@ $(TARBALL): release-only $(NODE_EXE) doc
|
||||
$(RM) -r $(TARNAME)/deps/v8/samples
|
||||
$(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
|
||||
$(RM) -r $(TARNAME)/doc/images # too big
|
||||
$(RM) -r $(TARNAME)/test*.tap
|
||||
$(RM) -r $(TARNAME)/tools/cpplint.py
|
||||
@@ -1043,6 +1042,7 @@ $(TARBALL): release-only $(NODE_EXE) doc
|
||||
$(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)/deps/zlib/contrib/* -type d ! -regex '.*/contrib/optimizations$$' | xargs $(RM) -r
|
||||
find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM)
|
||||
find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows
|
||||
tar -cf $(TARNAME).tar $(TARNAME)
|
||||
|
||||
Reference in New Issue
Block a user