Skip to content

Run commands in parallel #699

@marcelofabri

Description

@marcelofabri

If I understood correctly, this is where SwiftGen starts the process of running commands from configs:

try file.parent().chdir {
for cmd in config.commands.keys.sorted() {
try config.run(cmd: cmd, verbose: verbose)
}

Could this be done in parallel threads as an easy way to speed up SwiftGen with multiple commands? Any gotchas if we decide to implement it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions