Skip to content

Commit 4778840

Browse files
committed
[PackageModelSyntax] Remove all of the refactorings
1 parent ce00196 commit 4778840

17 files changed

+0
-3165
lines changed

Package.swift

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ let swiftPMDataModelProduct = (
6262
"PackageLoading",
6363
"PackageMetadata",
6464
"PackageModel",
65-
"PackageModelSyntax",
6665
"SourceControl",
6766
"Workspace",
6867
]
@@ -368,20 +367,6 @@ let package = Package(
368367
]
369368
),
370369

371-
.target(
372-
/** Primary Package model objects relationship to SwiftSyntax */
373-
name: "PackageModelSyntax",
374-
dependencies: [
375-
"Basics",
376-
"PackageLoading",
377-
"PackageModel",
378-
] + swiftSyntaxDependencies(["SwiftBasicFormat", "SwiftDiagnostics", "SwiftIDEUtils", "SwiftParser", "SwiftSyntax", "SwiftSyntaxBuilder"]),
379-
exclude: ["CMakeLists.txt"],
380-
swiftSettings: commonExperimentalFeatures + [
381-
.unsafeFlags(["-static"]),
382-
]
383-
),
384-
385370
.target(
386371
/** Package model conventions and loading support */
387372
name: "PackageLoading",
@@ -623,7 +608,6 @@ let package = Package(
623608
"Build",
624609
"CoreCommands",
625610
"PackageGraph",
626-
"PackageModelSyntax",
627611
"SourceControl",
628612
"Workspace",
629613
"XCBuildSupport",
@@ -925,13 +909,6 @@ let package = Package(
925909
name: "PackageModelTests",
926910
dependencies: ["PackageModel", "_InternalTestSupport"]
927911
),
928-
.testTarget(
929-
name: "PackageModelSyntaxTests",
930-
dependencies: [
931-
"PackageModelSyntax",
932-
"_InternalTestSupport",
933-
] + swiftSyntaxDependencies(["SwiftIDEUtils"])
934-
),
935912
.testTarget(
936913
name: "PackageGraphTests",
937914
dependencies: ["PackageGraph", "_InternalTestSupport"],
@@ -1061,7 +1038,6 @@ if ProcessInfo.processInfo.environment["SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS"] ==
10611038
"Build",
10621039
"Commands",
10631040
"PackageModel",
1064-
"PackageModelSyntax",
10651041
"PackageRegistryCommand",
10661042
"SourceControl",
10671043
"_InternalTestSupport",

Sources/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ add_subdirectory(PackageFingerprint)
2525
add_subdirectory(PackageGraph)
2626
add_subdirectory(PackageLoading)
2727
add_subdirectory(PackageModel)
28-
add_subdirectory(PackageModelSyntax)
2928
add_subdirectory(PackagePlugin)
3029
add_subdirectory(PackageRegistry)
3130
add_subdirectory(PackageRegistryCommand)

Sources/Commands/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ target_link_libraries(Commands PUBLIC
6767
CoreCommands
6868
LLBuildManifest
6969
PackageGraph
70-
PackageModelSyntax
7170
SourceControl
7271
SwiftFixIt
7372
TSCBasic

Sources/PackageModelSyntax/AddPackageDependency.swift

Lines changed: 0 additions & 133 deletions
This file was deleted.

Sources/PackageModelSyntax/AddProduct.swift

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)