File tree Expand file tree Collapse file tree 5 files changed +0
-15
lines changed
Sources/SwiftRefactor/PackageManifest Expand file tree Collapse file tree 5 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,6 @@ public struct AddPackageDependency: ManifestEditRefactoringProvider {
2626
2727 /// The set of argument labels that can occur after the "dependencies"
2828 /// argument in the Package initializers.
29- ///
30- /// TODO: Could we generate this from the the PackageDescription module, so
31- /// we don't have keep it up-to-date manually?
3229 private static let argumentLabelsAfterDependencies : Set < String > = [
3330 " targets " ,
3431 " swiftLanguageVersions " ,
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ public struct AddPackageTarget: ManifestEditRefactoringProvider {
2828
2929 /// The set of argument labels that can occur after the "targets"
3030 /// argument in the Package initializers.
31- ///
32- /// TODO: Could we generate this from the the PackageDescription module, so
33- /// we don't have keep it up-to-date manually?
3431 private static let argumentLabelsAfterTargets : Set < String > = [
3532 " swiftLanguageVersions " ,
3633 " cLanguageStandard " ,
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ public struct AddPluginUsage: ManifestEditRefactoringProvider {
2929
3030 /// The set of argument labels that can occur after the "plugins"
3131 /// argument in the Target initializers. (There aren't any right now)
32- ///
33- /// TODO: Could we generate this from the the PackageDescription module, so
34- /// we don't have keep it up-to-date manually?
3532 private static let argumentLabelsAfterPluginUsages : Set < String > = [ ]
3633
3734 /// Produce the set of source edits needed to add the given package
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ public struct AddProduct: ManifestEditRefactoringProvider {
2525 }
2626 /// The set of argument labels that can occur after the "products"
2727 /// argument in the Package initializers.
28- ///
29- /// TODO: Could we generate this from the the PackageDescription module, so
30- /// we don't have keep it up-to-date manually?
3128 private static let argumentLabelsAfterProducts : Set < String > = [
3229 " dependencies " ,
3330 " targets " ,
Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ public struct AddTargetDependency: ManifestEditRefactoringProvider {
3131
3232 /// The set of argument labels that can occur after the "dependencies"
3333 /// argument in the various target initializers.
34- ///
35- /// TODO: Could we generate this from the the PackageDescription module, so
36- /// we don't have keep it up-to-date manually?
3734 private static let argumentLabelsAfterDependencies : Set < String > = [
3835 " path " ,
3936 " exclude " ,
You can’t perform that action at this time.
0 commit comments