-
Notifications
You must be signed in to change notification settings - Fork 13
/
Package.swift
31 lines (29 loc) · 1.03 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "FlagsmithClient",
products: [
.library(name: "FlagsmithClient", targets: ["FlagsmithClient"])
],
dependencies: [
.package(url: "https://github.com/realm/SwiftLint.git", from: "0.54.0"),
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.53.8")
],
targets: [
.target(
name: "FlagsmithClient",
dependencies: [],
path: "FlagsmithClient/Classes",
resources: [
.copy("PrivacyInfo.xcprivacy"),
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency=complete"),
.enableUpcomingFeature("ExistentialAny"), // https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md
]),
.testTarget(
name: "FlagsmitClientTests",
dependencies: ["FlagsmithClient"],
path: "FlagsmithClient/Tests")
]
)