Skip to content

Commit f088e0a

Browse files
committed
remove entry point comments
1 parent d95d00a commit f088e0a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Plugins/GRPCProtobufGenerator/Plugin.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import PackagePlugin
1919

2020
// Entry-point when using Package manifest
2121
extension 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
4342
extension 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
6462
struct 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,

Plugins/GRPCProtobufGeneratorCommand/Plugin.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import Foundation
1818
import PackagePlugin
1919

2020
extension GRPCProtobufGeneratorCommandPlugin: CommandPlugin {
21-
/// Perform command, the entry-point when using a Package manifest.
2221
func performCommand(context: PluginContext, arguments: [String]) async throws {
2322
try self.performCommand(
2423
arguments: arguments,
@@ -33,7 +32,6 @@ import XcodeProjectPlugin
3332

3433
// Entry-point when using Xcode projects
3534
extension GRPCProtobufGeneratorCommandPlugin: XcodeCommandPlugin {
36-
/// Perform command, the entry-point when using an Xcode project.
3735
func performCommand(context: XcodeProjectPlugin.XcodePluginContext, arguments: [String]) throws {
3836
try self.performCommand(
3937
arguments: arguments,
@@ -46,7 +44,7 @@ extension GRPCProtobufGeneratorCommandPlugin: XcodeCommandPlugin {
4644

4745
@main
4846
struct GRPCProtobufGeneratorCommandPlugin {
49-
/// Command plugin code common to both invocation types: package manifest Xcode project
47+
/// Command plugin common code
5048
func performCommand(
5149
arguments: [String],
5250
tool: (String) throws -> PluginContext.Tool,
@@ -169,7 +167,6 @@ struct GRPCProtobufGeneratorCommandPlugin {
169167
/// - arguments: The arguments to be passed to `protoc`.
170168
/// - verbose: Whether or not to print verbose output
171169
/// - dryRun: If this invocation is a dry-run, i.e. will not actually be executed
172-
173170
func executeProtocInvocation(
174171
executableURL: URL,
175172
arguments: [String],

0 commit comments

Comments
 (0)