-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (30 loc) · 758 Bytes
/
Package.swift
File metadata and controls
34 lines (30 loc) · 758 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
// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "Extendable",
platforms: [
.macOS(.v11),
.macCatalyst(.v14),
.iOS(.v14),
.watchOS(.v7),
.tvOS(.v14)
],
products: [
.library(name: "Extendable", targets: ["Extendable"]),
.library(name: "ExtendableHost", targets: ["ExtendableHost"]),
],
dependencies: [],
targets: [
.target(name: "Extendable"),
.target(name: "ExtendableHost"),
.testTarget(name: "ExtendableTests", dependencies: ["Extendable"]),
]
)
let swiftSettings: [SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency"),
]
for target in package.targets {
var settings = target.swiftSettings ?? []
settings.append(contentsOf: swiftSettings)
target.swiftSettings = settings
}