Skip to content

Commit ab54292

Browse files
committed
[PackageModelSyntax] Remove all of the refactorings
1 parent e922106 commit ab54292

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",
@@ -928,13 +912,6 @@ let package = Package(
928912
name: "PackageModelTests",
929913
dependencies: ["PackageModel", "_InternalTestSupport"]
930914
),
931-
.testTarget(
932-
name: "PackageModelSyntaxTests",
933-
dependencies: [
934-
"PackageModelSyntax",
935-
"_InternalTestSupport",
936-
] + swiftSyntaxDependencies(["SwiftIDEUtils"])
937-
),
938915
.testTarget(
939916
name: "PackageGraphTests",
940917
dependencies: ["PackageGraph", "_InternalTestSupport"],
@@ -1064,7 +1041,6 @@ if ProcessInfo.processInfo.environment["SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS"] ==
10641041
"Build",
10651042
"Commands",
10661043
"PackageModel",
1067-
"PackageModelSyntax",
10681044
"PackageRegistryCommand",
10691045
"SourceControl",
10701046
"_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)