Skip to content

Commit b9984bc

Browse files
authored
Restore the ability to pass in customXCTestMinimumDeploymentTargets when loading a package graph (#4254)
This had been removed in one of the previous refactorings, but clients of libSwiftPM still need it.
1 parent 45152a0 commit b9984bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Workspace/Workspace.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ extension Workspace {
11891189
createMultipleTestProducts: Bool = false,
11901190
createREPLProduct: Bool = false,
11911191
forceResolvedVersions: Bool = false,
1192+
customXCTestMinimumDeploymentTargets: [PackageModel.Platform: PlatformVersion]? = .none,
11921193
observabilityScope: ObservabilityScope
11931194
) throws -> PackageGraph {
11941195

@@ -1225,6 +1226,7 @@ extension Workspace {
12251226
binaryArtifacts: binaryArtifacts,
12261227
shouldCreateMultipleTestProducts: createMultipleTestProducts,
12271228
createREPLProduct: createREPLProduct,
1229+
customXCTestMinimumDeploymentTargets: customXCTestMinimumDeploymentTargets,
12281230
fileSystem: fileSystem,
12291231
observabilityScope: observabilityScope
12301232
)

0 commit comments

Comments
 (0)