forked from tayloraswift/d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
36 lines (34 loc) · 940 Bytes
/
Package.swift
File metadata and controls
36 lines (34 loc) · 940 Bytes
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
// swift-tools-version:6.1
import PackageDescription
let package: Package = .init(
name: "d",
platforms: [.macOS(.v15), .iOS(.v18), .tvOS(.v18), .visionOS(.v2), .watchOS(.v11)],
products: [
.library(name: "D", targets: ["D"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-numerics", from: "1.0.3"),
.package(url: "https://github.com/tayloraswift/dollup", from: "0.2.0"),
],
targets: [
.target(
name: "D",
dependencies: [
.product(name: "RealModule", package: "swift-numerics"),
],
),
.testTarget(
name: "DTests",
dependencies: [
.target(name: "D"),
]
),
]
)
for target: Target in package.targets {
{
$0 = ($0 ?? []) + [
.enableUpcomingFeature("ExistentialAny")
]
}(&target.swiftSettings)
}