|
3 | 3 | import PackageDescription |
4 | 4 |
|
5 | 5 | let package = Package( |
6 | | - name: "swiftui-introspect", |
7 | | - platforms: [ |
8 | | - .iOS(.v13), |
9 | | - .tvOS(.v13), |
10 | | - .macOS(.v10_15), |
11 | | - ], |
12 | | - products: [ |
13 | | - .library(name: "SwiftUIIntrospect", targets: ["SwiftUIIntrospect"]), |
14 | | - .library(name: "SwiftUIIntrospect-Static", type: .static, targets: ["SwiftUIIntrospect"]), |
15 | | - .library(name: "SwiftUIIntrospect-Dynamic", type: .dynamic, targets: ["SwiftUIIntrospect"]), |
16 | | - ], |
17 | | - targets: [ |
18 | | - .target( |
19 | | - name: "SwiftUIIntrospect", |
20 | | - path: "Sources" |
21 | | - ), |
22 | | - ] |
| 6 | + name: "swiftui-introspect", |
| 7 | + platforms: [ |
| 8 | + .iOS(.v13), |
| 9 | + .tvOS(.v13), |
| 10 | + .macOS(.v10_15), |
| 11 | + ], |
| 12 | + products: [ |
| 13 | + .library(name: "SwiftUIIntrospect", targets: ["SwiftUIIntrospect"]), |
| 14 | + .library(name: "SwiftUIIntrospect-Static", type: .static, targets: ["SwiftUIIntrospect"]), |
| 15 | + .library(name: "SwiftUIIntrospect-Dynamic", type: .dynamic, targets: ["SwiftUIIntrospect"]), |
| 16 | + ], |
| 17 | + targets: [ |
| 18 | + .target( |
| 19 | + name: "SwiftUIIntrospect", |
| 20 | + path: "Sources" |
| 21 | + ), |
| 22 | + ] |
23 | 23 | ) |
24 | 24 |
|
25 | 25 | for target in package.targets { |
26 | | - target.swiftSettings = target.swiftSettings ?? [] |
27 | | - target.swiftSettings? += [ |
28 | | - .enableUpcomingFeature("ExistentialAny"), |
29 | | - .enableUpcomingFeature("InternalImportsByDefault"), |
30 | | - ] |
| 26 | + target.swiftSettings = target.swiftSettings ?? [] |
| 27 | + target.swiftSettings? += [ |
| 28 | + .enableUpcomingFeature("ExistentialAny"), |
| 29 | + .enableUpcomingFeature("InternalImportsByDefault"), |
| 30 | + ] |
31 | 31 | } |
0 commit comments