Skip to content

Commit 2669021

Browse files
committed
[PackageModelSyntax] Remove all of the refactorings
1 parent d8c78f5 commit 2669021

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",
@@ -929,13 +913,6 @@ let package = Package(
929913
name: "PackageModelTests",
930914
dependencies: ["PackageModel", "_InternalTestSupport"]
931915
),
932-
.testTarget(
933-
name: "PackageModelSyntaxTests",
934-
dependencies: [
935-
"PackageModelSyntax",
936-
"_InternalTestSupport",
937-
] + swiftSyntaxDependencies(["SwiftIDEUtils"])
938-
),
939916
.testTarget(
940917
name: "PackageGraphTests",
941918
dependencies: ["PackageGraph", "_InternalTestSupport"],
@@ -1065,7 +1042,6 @@ if ProcessInfo.processInfo.environment["SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS"] ==
10651042
"Build",
10661043
"Commands",
10671044
"PackageModel",
1068-
"PackageModelSyntax",
10691045
"PackageRegistryCommand",
10701046
"SourceControl",
10711047
"_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)