-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathPackage.swift
37 lines (34 loc) · 1.59 KB
/
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
35
36
37
// swift-tools-version:5.8
import Foundation
import PackageDescription
let package = Package(name: "Wendy",
platforms: [
.iOS(.v13)
],
products: [
.library(name: "Wendy", targets: ["Wendy"])
],
dependencies: [
// Help for the format of declaring SPM dependencies:
// https://web.archive.org/web/20220525200227/https://www.timc.dev/posts/understanding-swift-packages/
//
// Update to exact version until wrapper SDKs become part of testing pipeline.
.package(url: "https://github.com/groue/Semaphore.git", from: "0.0.8")
],
targets: [
.target(name: "Wendy",
dependencies: ["Semaphore"],
path: "Source/",
resources: [
.process("PrivacyInfo.xcprivacy")
]),
.testTarget(name: "WendyTests",
dependencies: ["Wendy"],
path: "Tests/")
])
// Enable swift concurrency to all targets in package
for target in package.targets {
var settings = target.swiftSettings ?? []
settings.append(.enableExperimentalFeature("StrictConcurrency"))
target.swiftSettings = settings
}