-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
60 lines (57 loc) · 1.41 KB
/
Copy pathPackage.swift
File metadata and controls
60 lines (57 loc) · 1.41 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// swift-tools-version: 6.2
import PackageDescription
let swiftSettings: [SwiftSetting] = [
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("MemberImportVisibility"),
]
let package = Package(
name: "DevTesting",
platforms: [
.iOS(.v26),
.macOS(.v26),
.tvOS(.v26),
.visionOS(.v26),
.watchOS(.v26),
],
products: [
.library(
name: "DevTesting",
targets: ["DevRandom", "DevTesting"]
),
.library(
name: "DevRandom",
targets: ["DevRandom"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-numerics", from: "1.0.0")
],
targets: [
.target(
name: "DevRandom",
swiftSettings: swiftSettings
),
.testTarget(
name: "DevRandomTests",
dependencies: [
"DevRandom",
.product(name: "RealModule", package: "swift-numerics"),
],
swiftSettings: swiftSettings
),
.target(
name: "DevTesting",
dependencies: [
"DevRandom"
],
swiftSettings: swiftSettings
),
.testTarget(
name: "DevTestingTests",
dependencies: [
"DevTesting",
],
swiftSettings: swiftSettings
),
]
)