mirror of https://github.com/ARMmbed/mbed-os.git
revert hack to force zipfile creation
remove forcing to create zipfilespull/4916/head
parent
9dc1191c60
commit
e2fd0ea152
|
@ -346,7 +346,7 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None,
|
|||
resource.add(res)
|
||||
if isinstance(zip_proj, basestring):
|
||||
zip_export(join(export_path, zip_proj), name, resource_dict,
|
||||
files , inc_repos)
|
||||
files + exporter.static_files, inc_repos)
|
||||
else:
|
||||
zip_export(zip_proj, name, resource_dict,
|
||||
files + exporter.static_files, inc_repos)
|
||||
|
|
|
@ -235,7 +235,7 @@ def main():
|
|||
if exists(EXPORT_DIR):
|
||||
rmtree(EXPORT_DIR)
|
||||
|
||||
zip_proj = True #not bool(options.source_dir)
|
||||
zip_proj = not bool(options.source_dir)
|
||||
|
||||
if (options.program is None) and (not options.source_dir):
|
||||
args_error(parser, "one of -p, -n, or --source is required")
|
||||
|
|
Loading…
Reference in New Issue