mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-11 01:13:16 +03:00
devops: strip linux binaries
The `--strip-unneeded` removes all symbols needed for library compilation as part of a `.a` static library. ([source](https://www.technovelty.org/linux/stripping-shared-libraries.html)) So these are safe to remove and they should keep our binary debuggable. These should save us ~100Mb unzipped. References #658
This commit is contained in:
parent
24c5df65c2
commit
b77b31c55c
@ -82,6 +82,7 @@ createZipForLinux() {
|
||||
|
||||
# tar resulting directory and cleanup TMP.
|
||||
cd $tmpdir
|
||||
strip --strip-unneeded * || true
|
||||
zip --symlinks -r $ZIP_PATH ./
|
||||
cd -
|
||||
rm -rf $tmpdir
|
||||
|
Loading…
Reference in New Issue
Block a user