@@ -19,7 +19,6 @@ import PackagePlugin
1919
2020// Entry-point when using Package manifest
2121extension GRPCProtobufGenerator : BuildToolPlugin {
22- /// Create build commands, the entry-point when using a Package manifest.
2322 func createBuildCommands( context: PluginContext , target: Target ) async throws -> [ Command ] {
2423 guard let swiftTarget = target as? SwiftSourceModuleTarget else {
2524 throw BuildPluginError . incompatibleTarget ( target. name)
@@ -41,7 +40,6 @@ import XcodeProjectPlugin
4140
4241// Entry-point when using Xcode projects
4342extension GRPCProtobufGenerator : XcodeBuildToolPlugin {
44- /// Create build commands, the entry-point when using an Xcode project.
4543 func createBuildCommands( context: XcodePluginContext , target: XcodeTarget ) throws -> [ Command ] {
4644 let configFiles = target. inputFiles. filter {
4745 $0. url. lastPathComponent == configFileName
@@ -62,7 +60,7 @@ extension GRPCProtobufGenerator: XcodeBuildToolPlugin {
6260
6361@main
6462struct GRPCProtobufGenerator {
65- /// Build plugin code common to both invocation types: package manifest Xcode project
63+ /// Build plugin common code
6664 func createBuildCommands(
6765 pluginWorkDirectory: URL ,
6866 tool: ( String ) throws -> PluginContext . Tool ,
0 commit comments