Skip to content

Distribute: Avoid overwriting existing files #3

@odrobnik

Description

@odrobnik

During distribute if multiple target files have the same name, they overwrite each other. There needs to be a better name finding algorithm, and one that avoids this:

example from SwiftMCP:

=== Processing: /Users/oliver/Developer/SwiftMCP/Sources/SwiftMCP/Transport/Routing/LegacySSERoutes.swift ===
  → Wrote HTTPSSETransport+Extensions.swift

=== Processing: /Users/oliver/Developer/SwiftMCP/Sources/SwiftMCP/Transport/Routing/MCPRoutes.swift ===
  → Wrote HTTPSSETransport+Extensions.swift

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions