diff options
author | Daniel Francis <francis@sugarlabs.org> | 2012-10-23 15:03:26 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2012-10-23 15:03:26 (GMT) |
commit | 4e40398d89740d297784b843d3c3127f70e18bf0 (patch) | |
tree | b1fdb1505da25deaabfba1cab8cce7d781acdd7b /xobuild.py | |
parent | 8615d5544aaa450d53892baa356f09d3e81519a8 (diff) |
Exclude all git dirs
Diffstat (limited to 'xobuild.py')
-rw-r--r-- | xobuild.py | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -25,10 +25,18 @@ os.environ['INFO_L10N'] = '0' import zipfile import info -ignore_ends = ['.pyc', '~'] -ignores = ['makescripts', 'Makefile', 'install', - 'desktop', 'install', '.git', '.gitignore', '.gitmodules', - 'mimetypes.xml', 'mimetype.png', +ignore_ends = ['.pyc', + '~', + '.git', + '.gitignore', + '.gitmodules'] +ignores = ['makescripts', + 'Makefile', + 'install', + 'desktop', + 'install', + 'mimetypes.xml', + 'mimetype.png', info.file_filter_mime.replace('/', '-') + '.xml', info.lower_name, info.lower_name + '.desktop', info.lower_name + '.png', |