build: delete dsyms after they have been zipped in release builds
This commit is contained in:
parent
cce73c3b8d
commit
a76b53348c
2 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,8 @@ def main():
|
|||
dsym_zip_file = os.path.join(args.build_dir, dsym_name)
|
||||
print('Making dsym zip: ' + dsym_zip_file)
|
||||
make_zip(dsym_zip_file, licenses, dsyms)
|
||||
if len(dsyms) > 0 and 'DELETE_DSYMS_AFTER_ZIP' in os.environ:
|
||||
execute(['rm', '-rf'] + dsyms)
|
||||
elif PLATFORM == 'win32':
|
||||
pdb_name = 'pdb.zip'
|
||||
with scoped_cwd(args.build_dir):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue