def collect_all_workspace_projects(single_image, workspace_file, inputpath): """ Collect all workspace projects and combine them into a single image. Build and collect the input xuv files from all the projects in the workspace """ workspace = Workspace( workspace_file, PrepareForImage(single_image=single_image, inputpath=inputpath)) workspace.build()
def main(args): known_args, ubuild_args = parse_args(args) workspace_file = os.path.normpath(known_args.workspace_file) workspace = Workspace(workspace_file, UbuildBuilder(ubuild_args)) return workspace.build()