Skip to content

Commit e2fd0ea

Browse files
committed
revert hack to force zipfile creation
remove forcing to create zipfiles
1 parent 9dc1191 commit e2fd0ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/export/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None,
346346
resource.add(res)
347347
if isinstance(zip_proj, basestring):
348348
zip_export(join(export_path, zip_proj), name, resource_dict,
349-
files , inc_repos)
349+
files + exporter.static_files, inc_repos)
350350
else:
351351
zip_export(zip_proj, name, resource_dict,
352352
files + exporter.static_files, inc_repos)

tools/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def main():
235235
if exists(EXPORT_DIR):
236236
rmtree(EXPORT_DIR)
237237

238-
zip_proj = True #not bool(options.source_dir)
238+
zip_proj = not bool(options.source_dir)
239239

240240
if (options.program is None) and (not options.source_dir):
241241
args_error(parser, "one of -p, -n, or --source is required")

0 commit comments

Comments
 (0)