| Index: packagerChrome.py |
| =================================================================== |
| --- a/packagerChrome.py |
| +++ b/packagerChrome.py |
| @@ -18,24 +18,25 @@ |
| defaultLocale = 'en_US' |
| def getIgnoredFiles(params): |
| return {'store.description'} |
| def getPackageFiles(params): |
| - result = set(('_locales', 'icons', 'jquery-ui', 'lib', 'skin', 'ui', 'ext')) |
| + result = {'_locales', 'icons', 'jquery-ui', 'lib', 'skin', 'ui', 'ext'} |
| if params['devenv']: |
| result.add('qunit') |
| baseDir = params['baseDir'] |
| + |
| for file in os.listdir(baseDir): |
| - if file.endswith('.js') or file.endswith('.html') or file.endswith('.xml'): |
| + if os.path.splitext(file)[1] in {'.json', '.js', '.html', '.xml'}: |
| result.add(file) |
| return result |
| def processFile(path, data, params): |
| # We don't change anything yet, this function currently only exists here so |
| # that it can be overridden if necessary. |
| return data |