-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Package.swift
34 lines (30 loc) · 804 Bytes
/
Package.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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "SwiftRadix",
platforms: platforms,
products: [
.library(
name: "SwiftRadix",
targets: ["SwiftRadix"]
)
],
dependencies: [
// none
],
targets: [
.target(
name: "SwiftRadix",
dependencies: []
),
.testTarget(
name: "SwiftRadixTests",
dependencies: ["SwiftRadix"]
)
]
)
#if swift(>=5.7) // Swift version in Xcode 14+
let platforms: [SupportedPlatform] = [.macOS(.v10_13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4)]
#else // Swift version prior to Xcode 14
let platforms: [SupportedPlatform] = [.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)]
#endif