Skip to content

SwiftPM plugin: allow file glob patterns in protoFiles file list #1311

Closed
@klundberg

Description

@klundberg

As mentioned in another issue, we have our proto files integrated using submodules. We want to generate code for proto files in specific directories in this submodule. in the protoc command, we can do this with glob patterns, and it'd be great to be able to support this in the plugin so that we don't need to have a large list of files, if possible.

Our use case requires a pattern that looks like this:

submodules/**/feature/*.proto

Alternatively, if glob's aren't possible, adding a directory that holds proto files would allow the config to be more lean and easier to maintain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementImprovements to existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions