@@ -19,7 +19,6 @@ import PackagePlugin
19
19
20
20
// Entry-point when using Package manifest
21
21
extension GRPCProtobufGenerator : BuildToolPlugin {
22
- /// Create build commands, the entry-point when using a Package manifest.
23
22
func createBuildCommands( context: PluginContext , target: Target ) async throws -> [ Command ] {
24
23
guard let swiftTarget = target as? SwiftSourceModuleTarget else {
25
24
throw BuildPluginError . incompatibleTarget ( target. name)
@@ -41,7 +40,6 @@ import XcodeProjectPlugin
41
40
42
41
// Entry-point when using Xcode projects
43
42
extension GRPCProtobufGenerator : XcodeBuildToolPlugin {
44
- /// Create build commands, the entry-point when using an Xcode project.
45
43
func createBuildCommands( context: XcodePluginContext , target: XcodeTarget ) throws -> [ Command ] {
46
44
let configFiles = target. inputFiles. filter {
47
45
$0. url. lastPathComponent == configFileName
@@ -62,7 +60,7 @@ extension GRPCProtobufGenerator: XcodeBuildToolPlugin {
62
60
63
61
@main
64
62
struct GRPCProtobufGenerator {
65
- /// Build plugin code common to both invocation types: package manifest Xcode project
63
+ /// Build plugin common code
66
64
func createBuildCommands(
67
65
pluginWorkDirectory: URL ,
68
66
tool: ( String ) throws -> PluginContext . Tool ,
0 commit comments