-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
39 lines (36 loc) · 875 Bytes
/
Package.swift
File metadata and controls
39 lines (36 loc) · 875 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
37
38
39
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "FixedPointDecimal",
platforms: [
.macOS(.v15),
.iOS(.v18),
.tvOS(.v18),
.watchOS(.v11),
.visionOS(.v2),
],
products: [
.library(
name: "FixedPointDecimal",
targets: ["FixedPointDecimal"]
),
],
dependencies: [],
targets: [
.target(
name: "FixedPointDecimal"
),
.testTarget(
name: "FixedPointDecimalTests",
dependencies: ["FixedPointDecimal"],
resources: [.copy("Resources")]
),
]
)
for target in package.targets {
{
var settings: [SwiftSetting] = $0 ?? []
settings.append(.enableUpcomingFeature("InternalImportsByDefault"))
$0 = settings
}(&target.swiftSettings)
}