forked from siteline/swiftui-introspect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage@swift-5.7.swift
39 lines (35 loc) · 1.11 KB
/
Package@swift-5.7.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "swiftui-introspect",
platforms: [
.iOS(.v13),
.tvOS(.v13),
.macOS(.v10_15),
],
products: [
// new module
.library(name: "SwiftUIIntrospect", targets: ["SwiftUIIntrospect"]),
.library(name: "SwiftUIIntrospect-Static", type: .static, targets: ["SwiftUIIntrospect"]),
.library(name: "SwiftUIIntrospect-Dynamic", type: .dynamic, targets: ["SwiftUIIntrospect"]),
// old module
.library(name: "Introspect", targets: ["Introspect"]),
.library(name: "Introspect-Static", type: .static, targets: ["Introspect"]),
.library(name: "Introspect-Dynamic", type: .dynamic, targets: ["Introspect"]),
],
targets: [
.target(
name: "Introspect",
path: "Introspect"
),
.testTarget(
name: "IntrospectTests",
dependencies: ["Introspect"],
path: "IntrospectTests"
),
.target(
name: "SwiftUIIntrospect",
path: "Sources"
),
]
)