Skip to content

Commit 74e17b0

Browse files
committed
Style
1 parent 333da92 commit 74e17b0

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

Package.swift

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@ let package = Package(
646646
.target(
647647
name: "FirebaseFirestoreSwiftTarget",
648648
dependencies: [.target(name: "FirebaseFirestoreSwift",
649-
condition: .when(platforms: [.iOS, .macCatalyst, .tvOS, .macOS, .firebaseVisionOS]))],
649+
condition: .when(platforms: [.iOS, .macCatalyst, .tvOS, .macOS,
650+
.firebaseVisionOS]))],
650651
path: "SwiftPM-PlatformExclude/FirebaseFirestoreSwiftWrap"
651652
),
652653

@@ -1314,9 +1315,9 @@ func abseilDependency() -> Package.Dependency {
13141315
}
13151316

13161317
return .package(
1317-
url: "https://github.com/google/abseil-cpp-binary.git",
1318-
"1.2022062300.0" ..< "1.2022062400.0"
1319-
)
1318+
url: "https://github.com/google/abseil-cpp-binary.git",
1319+
"1.2022062300.0" ..< "1.2022062400.0"
1320+
)
13201321
}
13211322

13221323
func grpcDependency() -> Package.Dependency {
@@ -1338,7 +1339,8 @@ func firestoreWrapperTarget() -> Target {
13381339
return .target(
13391340
name: "FirebaseFirestoreTarget",
13401341
dependencies: [.target(name: "FirebaseFirestore",
1341-
condition: .when(platforms: [.iOS, .tvOS, .macOS, .firebaseVisionOS]))],
1342+
condition: .when(platforms: [.iOS, .tvOS, .macOS,
1343+
.firebaseVisionOS]))],
13421344
path: "SwiftPM-PlatformExclude/FirebaseFirestoreWrap"
13431345
)
13441346
}
@@ -1425,7 +1427,10 @@ func firestoreTarget() -> Target {
14251427
.define("FIRFirestore_VERSION", to: firebaseVersion),
14261428
],
14271429
linkerSettings: [
1428-
.linkedFramework("SystemConfiguration", .when(platforms: [.iOS, .macOS, .tvOS, .firebaseVisionOS])),
1430+
.linkedFramework(
1431+
"SystemConfiguration",
1432+
.when(platforms: [.iOS, .macOS, .tvOS, .firebaseVisionOS])
1433+
),
14291434
.linkedFramework("UIKit", .when(platforms: [.iOS, .tvOS, .firebaseVisionOS])),
14301435
.linkedLibrary("c++"),
14311436
]
@@ -1452,12 +1457,12 @@ extension Platform {
14521457
// arise as the manifest APIs should be confined to the `Package.swift`).
14531458
static var firebaseVisionOS: Self {
14541459
#if swift(>=5.9)
1455-
// For Xcode 15, return the available `visionOS` platform.
1456-
return .visionOS
1460+
// For Xcode 15, return the available `visionOS` platform.
1461+
return .visionOS
14571462
#else
1458-
// For Xcode 14, return `iOS` as visionOS is unavailable. Since all targets
1459-
// support iOS, this acts as a no-op.
1460-
return .iOS
1461-
#endif // swift(>=5.9)
1463+
// For Xcode 14, return `iOS` as visionOS is unavailable. Since all targets
1464+
// support iOS, this acts as a no-op.
1465+
return .iOS
1466+
#endif // swift(>=5.9)
14621467
}
14631468
}

0 commit comments

Comments
 (0)