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 {
26
26
27
27
/// The set of argument labels that can occur after the "dependencies"
28
28
/// 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?
32
29
private static let argumentLabelsAfterDependencies : Set < String > = [
33
30
" targets " ,
34
31
" swiftLanguageVersions " ,
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ public struct AddPackageTarget: ManifestEditRefactoringProvider {
28
28
29
29
/// The set of argument labels that can occur after the "targets"
30
30
/// 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?
34
31
private static let argumentLabelsAfterTargets : Set < String > = [
35
32
" swiftLanguageVersions " ,
36
33
" cLanguageStandard " ,
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ public struct AddPluginUsage: ManifestEditRefactoringProvider {
29
29
30
30
/// The set of argument labels that can occur after the "plugins"
31
31
/// 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?
35
32
private static let argumentLabelsAfterPluginUsages : Set < String > = [ ]
36
33
37
34
/// 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 {
25
25
}
26
26
/// The set of argument labels that can occur after the "products"
27
27
/// 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?
31
28
private static let argumentLabelsAfterProducts : Set < String > = [
32
29
" dependencies " ,
33
30
" targets " ,
Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ public struct AddTargetDependency: ManifestEditRefactoringProvider {
31
31
32
32
/// The set of argument labels that can occur after the "dependencies"
33
33
/// 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?
37
34
private static let argumentLabelsAfterDependencies : Set < String > = [
38
35
" path " ,
39
36
" exclude " ,
You can’t perform that action at this time.
0 commit comments